pocketmine/errorhandler

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

Installs: 442 934

Dependents: 7

Suggesters: 0

Security: 0

Stars: 4

Watchers: 10

Forks: 0

Open Issues: 2

pkg:composer/pocketmine/errorhandler

0.7.0 2024-04-02 18:29 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.