InvalidMiddlewareException.ts 204 B

12345678
  1. class InvalidMiddlewareException extends Error {
  2. public constructor(file: string) {
  3. super(`Invalid middleware: ${file}`);
  4. this.name = 'InvalidMiddleware';
  5. }
  6. }
  7. export { InvalidMiddlewareException };