ff-admin-server/src/exceptions/unauthorizedRequestException.ts

8 lines
203 B
TypeScript
Raw Normal View History

2024-08-23 09:44:36 +02:00
import CustomRequestException from "./customRequestException";
2024-08-23 09:44:36 +02:00
export default class UnauthorizedRequestException extends CustomRequestException {
constructor(msg: string) {
2024-08-23 09:44:36 +02:00
super(401, msg);
}
}