Skip to content

Commit c42b96a

Browse files
author
Maxim Lanin
committed
Update readme
1 parent e9530de commit c42b96a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

9595
It 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

9999
Also you can catch all system exceptions using `\Lanin\Laravel\ApiExceptions\Support\RuntimeExceptionsHandler`.
100100
Just import it to your `Http\Kernel` $middleware array, and that's it.

0 commit comments

Comments
 (0)