gcworld / errorhandlers
GCWorld Industries Error Handlers
Installs: 28 873
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
- kint-php/kint: >=1.1
README
Just a simple set of error handlers you can use in your project.
Example
Place this in your front controller after requiring your auto-loader
set_error_handler('\GCWorld\ErrorHandlers\ErrorHandlers::errorHandler');
set_exception_handler('\GCWorld\ErrorHandlers\ErrorHandlers::exceptionHandler');
register_shutdown_function('\GCWorld\ErrorHandlers\ErrorHandlers::shutdownHandler');
Version
1.2.1