2025SELab2-project-Dwengo/backend/src/exceptions/bad-request-exception.ts
2025-03-30 12:54:22 +00:00

10 lines
254 B
TypeScript

import { ExceptionWithHttpState } from './exception-with-http-state.js';
/**
* Exception for HTTP 400 Bad Request
*/
export class BadRequestException extends ExceptionWithHttpState {
constructor(error: string) {
super(400, error);
}
}