- renamings to the new naming convetion for adonisjs version 6
Some checks failed
CI Pipeline / japa-tests (push) Failing after 58s
Some checks failed
CI Pipeline / japa-tests (push) Failing after 58s
- npm updates
This commit is contained in:
parent
bee76f8d5b
commit
a29865b781
53 changed files with 701 additions and 731 deletions
10
app/exceptions/InternalServerException.ts
Normal file
10
app/exceptions/InternalServerException.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
import { StatusCodes } from 'http-status-codes';
|
||||
import HTTPException from './HttpException.js';
|
||||
|
||||
class InternalServerErrorException extends HTTPException {
|
||||
constructor(message?: string) {
|
||||
super(StatusCodes.INTERNAL_SERVER_ERROR, message || 'Server Error');
|
||||
this.stack = '';
|
||||
}
|
||||
}
|
||||
export default InternalServerErrorException;
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue