ErrorHandler.php Interfaces, Classes and Traits ErrorHandler Wraps uncaught exceptions into a JSON response.