pocketmine/errorhandler

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

Maintainers

👁 dktapps
👁 pmmp

Package info

github.com/pmmp/ErrorHandler

pkg:composer/pocketmine/errorhandler

Statistics

Installs: 531 293

Dependents: 7

Suggesters: 0

Stars: 4

Open Issues: 2

0.7.1 2025-12-24 02:26 UTC

Requires

  • php: ^8.0

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

LGPL-3.0 84c9ec829163f21ced425d8f3b27d32f908e87fb


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.