File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ The goal of this package is to provide you with a set of most common exceptions
99* Handles exceptions report to logs.
1010* Overwrites default Validator to make validation errors more verbose.
1111* Has a FormRequest that to handle validation errors and pass them to ApiExceptions layer.
12- * Has middleware to catch all system errors such us RuntimeExceptions or ModelNotFoundException to handle them and threat as normal ApiExceptions.
12+ * Has middleware to catch all system errors such us ` RuntimeExceptions ` or ` ModelNotFoundException ` to handle them and threat as normal ApiExceptions.
1313
1414## Installation
1515
@@ -94,7 +94,7 @@ It will automatically support validation errors and pass them to the output.
9494
9595It also has a very handy helper method ` validatedOnly() ` that returns from request only those items that are registered in rules method.
9696
97- ### RuntimeErrorHandler
97+ ### RuntimeExceptionsHandler
9898
9999Also you can catch all system exceptions using ` \Lanin\Laravel\ApiExceptions\Support\RuntimeExceptionsHandler ` .
100100Just import it to your ` Http\Kernel ` $middleware array, and that's it.
You can’t perform that action at this time.
0 commit comments