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