Skip to content

Basic utilities to make nasty PHP E_* errors more usable

License

Notifications You must be signed in to change notification settings

pmmp/ErrorHandler

Repository files navigation

ErrorHandler

CI

This library contains some small utilities intended to make PHP's E_* errors more bearable.

  • ErrorToExceptionHandler contains a basic error handler used to convert E_* errors into thrown \ErrorExceptions.
  • ErrorTypeToStringMap contains a utility to convert E_* codes into human-readable text.