/**
 * 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);
  }
}
