Simple, fast and yet powerful PHP router that is easy to get integrated and in any project. Heavily inspired by the way Laravel handles routing, with both simplicity and expand-ability in mind.
631
stars
116
forks
source link
How can I get real exception instead of Router one? #674
For example: I have exeption occured in file src/pages/main.php. But I'm getting this one instead. I've also tried implementing IExceptionHandler, but the $error variable in handleError function has same exception as on screenshot.
Output on the screenshot if formed by https://github.com/filp/whoops lib. But it do not influence Router, whether I'm using whoops or not behavior is the same.
For example: I have exeption occured in file src/pages/main.php. But I'm getting this one instead. I've also tried implementing IExceptionHandler, but the $error variable in handleError function has same exception as on screenshot.
Output on the screenshot if formed by https://github.com/filp/whoops lib. But it do not influence Router, whether I'm using whoops or not behavior is the same.