All checks were successful
Dev CI / Backend — Lint (push) Successful in 10m23s
Dev CI / Backend — Unit Tests (push) Successful in 10m17s
Dev CI / Frontend — Lint & Type-check (push) Successful in 11m3s
Dev CI / Frontend — Unit Tests (push) Successful in 10m33s
Dev CI / Notify Failure (push) Has been skipped
14 lines
346 B
TypeScript
14 lines
346 B
TypeScript
/**
|
|
* PortNotFoundException
|
|
*
|
|
* Thrown when a port is not found in the database.
|
|
*/
|
|
|
|
import { DomainException } from './domain.exception';
|
|
|
|
export class PortNotFoundException extends DomainException {
|
|
constructor(public readonly portCode: string) {
|
|
super('error.PORT_NOT_FOUND', { portCode }, `Port not found: ${portCode}`, 404);
|
|
}
|
|
}
|