Skip to content

Commit 59f3e3a

Browse files
committed
Documented
1 parent 3222d74 commit 59f3e3a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

config/config.php

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,15 @@
6565
| Restify Exception Handler
6666
|--------------------------------------------------------------------------
6767
|
68-
| These will override the main application exception handler,
69-
| set to null, it will not override it.
70-
| Having RestifyHandler as a global exception handler is a good approach, since it
68+
| The exception handler will be attached to any Restify "CRUD" route.
69+
| It will not be attached to custom routes defined in yours Restify Repositories,
70+
| if you want to have it for all of the routes, can extend RestifyHandler
71+
| from your application App\Exceptions\Handler.
72+
|
73+
| These will override the main application exception handler, set to null, it will not override it.
74+
| Having RestifyHandler as a global exception handler is a good recommendation since it
7175
| will return the exceptions in an API pretty format.
76+
|
7277
*/
7378
'exception_handler' => \Binaryk\LaravelRestify\Exceptions\RestifyHandler::class,
7479
];

0 commit comments

Comments
 (0)