summaryrefslogtreecommitdiffstats
path: root/app/Exceptions/Handler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'app/Exceptions/Handler.ts')
-rw-r--r--app/Exceptions/Handler.ts23
1 files changed, 0 insertions, 23 deletions
diff --git a/app/Exceptions/Handler.ts b/app/Exceptions/Handler.ts
deleted file mode 100644
index 51764bc..0000000
--- a/app/Exceptions/Handler.ts
+++ /dev/null
@@ -1,23 +0,0 @@
1/*
2|--------------------------------------------------------------------------
3| Http Exception Handler
4|--------------------------------------------------------------------------
5|
6| AdonisJs will forward all exceptions occurred during an HTTP request to
7| the following class. You can learn more about exception handling by
8| reading docs.
9|
10| The exception handler extends a base `HttpExceptionHandler` which is not
11| mandatory, however it can do lot of heavy lifting to handle the errors
12| properly.
13|
14*/
15
16import logger from '@adonisjs/core/services/logger';
17import { ExceptionHandler as AdonisExceptionHandler } from '@adonisjs/core/http';
18
19export default class ExceptionHandler extends AdonisExceptionHandler {
20 constructor() {
21 super(logger);
22 }
23}