Skip to content
This repository has been archived by the owner on Mar 18, 2022. It is now read-only.

Commit

Permalink
Merge pull request #80 from branchzero/master
Browse files Browse the repository at this point in the history
typo README.md middleware Exception
  • Loading branch information
romanbican committed Jul 6, 2015
2 parents c3d3196 + 5558e2f commit 1f8a3c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ $router->get('/example', [
]);
```

It throws `\Bican\Roles\Exception\RoleDeniedException`, `\Bican\Roles\Exception\PermissionDeniedException` or `\Bican\Roles\Exception\LevelDeniedException` exceptions if it goes wrong.
It throws `\Bican\Roles\Exceptions\RoleDeniedException`, `\Bican\Roles\Exceptions\PermissionDeniedException` or `\Bican\Roles\Exceptions\LevelDeniedException` exceptions if it goes wrong.

You can catch these exceptions inside `app/Exceptions/Handler.php` file and do whatever you want.

Expand Down

0 comments on commit 1f8a3c0

Please sign in to comment.