mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-08 14:43:24 +00:00
8 lines
221 B
TypeScript
8 lines
221 B
TypeScript
import { Exception } from '@adonisjs/core/exceptions';
|
|
|
|
export default class UnAuthorizedException extends Exception {
|
|
static status = 401;
|
|
message = 'Missing or invalid authorization header';
|
|
code = 'UNAUTHORIZED';
|
|
}
|