InvalidRouteException.ts 184 B

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