Merge remote-tracking branch 'origin/dev' into fix/verschillende-authenticatieproblemen
This commit is contained in:
commit
f7029ad25b
124 changed files with 2435 additions and 2647 deletions
12
backend/src/exceptions/server-error-exception.ts
Normal file
12
backend/src/exceptions/server-error-exception.ts
Normal file
|
@ -0,0 +1,12 @@
|
|||
import { ExceptionWithHttpState } from './exception-with-http-state.js';
|
||||
|
||||
/**
|
||||
* Exception for HTTP 500 Internal Server Error
|
||||
*/
|
||||
export class ServerErrorException extends ExceptionWithHttpState {
|
||||
status = 500;
|
||||
|
||||
constructor(message = 'Internal server error, something went wrong') {
|
||||
super(500, message);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue