pocketmine/errorhandler

Utilities to handle nasty PHP E_* errors in a usable way

0.2.0 2020-12-11 01:06 UTC

This package is auto-updated.

Last update: 2021-01-19 10:43:30 UTC


README

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.