mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
8 lines
200 B
TypeScript
8 lines
200 B
TypeScript
import { BaseException } from './base';
|
|
|
|
export class RouteNotFoundException extends BaseException {
|
|
constructor(path: string) {
|
|
super(`Route ${path} doesn't exist.`, 404, 'ROUTE_NOT_FOUND');
|
|
}
|
|
}
|