dev-master
9999999-devGomaErrorHandling provides error-handling methods as well as Exception-Types and codes.
LGPL-3.0
The Requires
- php >=5.5.0
- goma/goma-env dev-master
by Goma Team
Wallogit.com
2017 © Pedro Peláez
GomaErrorHandling provides error-handling methods as well as Exception-Types and codes.
GomaErrorHandler adds a basic Erorr+Exception-Handler for Goma Installations. In addition it provides the GomaException base-class., (*1)
To customise exception-handling there are two ways:
* Change the template for errors by adding a file /templates/phperror.html
* Add custom exception-handler by adding a class implementing ExceptionHandler and register it via
ExceptionManager::registerExceptionHandler($className, $prepend = false)
* handleException:true|null Used to custom exception handling. return true if other error-handling should be stopped
* isIgnorableException: boolean|null
* isDeveloperPresentableException: boolean|null, (*2)
GomaErrorHandling provides error-handling methods as well as Exception-Types and codes.
LGPL-3.0