slimphp / Slim-Console

Slim Framework Console
https://slimframework.com
MIT License
28 stars 12 forks source link

Refactor Exceptions #36

Closed l0gicgate closed 4 years ago

l0gicgate commented 4 years ago

This PR adds a base ConfigException which all the other exceptions extend so they can be caught more elegantly.

This also adds exception catching in the bin/slim file and outputs a pretty message instead of the raw stack trace.