mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-11 08:43:04 +00:00
11 lines
284 B
TypeScript
11 lines
284 B
TypeScript
import { Exception } from '@adonisjs/core/exceptions';
|
|
|
|
export default class FaviconNotFoundException extends Exception {
|
|
static status = 404;
|
|
static code = 'E_FAVICON_NOT_FOUND';
|
|
|
|
constructor(message: string) {
|
|
super(message, { status: 404, code: 'E_FAVICON_NOT_FOUND' });
|
|
}
|
|
}
|