/**
 * InvalidPortCodeException
 *
 * Thrown when a port code is invalid or not found
 */

export class InvalidPortCodeException extends Error {
  constructor(portCode: string, message?: string) {
    super(message || `Invalid port code: ${portCode}`);
    this.name = 'InvalidPortCodeException';
    Object.setPrototypeOf(this, InvalidPortCodeException.prototype);
  }
}
