an exception handler for safety and comfort
ErrHandler comprises two simple objects. ErrorHandler converts any error to an ErrorException and ExceptionHandler basically catches any uncaught exception and sanitizes it, and makes it pretty.
Peruse the tests or, if present, the examples directory to see usage.
See packagist for version/installation info.