diff options
author | MCMXC <16797721+mcmxcdev@users.noreply.github.com> | 2024-02-11 19:15:20 +0530 |
---|---|---|
committer | Vijay A <vraravam@users.noreply.github.com> | 2024-02-13 06:59:44 +0530 |
commit | 8fec21d6bccfa778c14c1714d6444312e36fc3f1 (patch) | |
tree | cab910ad5048eece2d229648f2c17000ac86a44d /app/Exceptions/Handler.ts | |
parent | updates (diff) | |
download | ferdium-server-8fec21d6bccfa778c14c1714d6444312e36fc3f1.tar.gz ferdium-server-8fec21d6bccfa778c14c1714d6444312e36fc3f1.tar.zst ferdium-server-8fec21d6bccfa778c14c1714d6444312e36fc3f1.zip |
Diffstat (limited to 'app/Exceptions/Handler.ts')
-rw-r--r-- | app/Exceptions/Handler.ts | 23 |
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 | |||
16 | import logger from '@adonisjs/core/services/logger'; | ||
17 | import { ExceptionHandler as AdonisExceptionHandler } from '@adonisjs/core/http'; | ||
18 | |||
19 | export default class ExceptionHandler extends AdonisExceptionHandler { | ||
20 | constructor() { | ||
21 | super(logger); | ||
22 | } | ||
23 | } | ||