10 lines
261 B
TypeScript
10 lines
261 B
TypeScript
import {ExceptionWithHttpState} from "./exception-with-http-state.js";
|
|
|
|
/**
|
|
* Exception for HTTP 400 Bad Request
|
|
*/
|
|
export abstract class BadRequestException extends ExceptionWithHttpState {
|
|
constructor(error: string) {
|
|
super(400, error);
|
|
}
|
|
}
|