Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pmmp/errorhandler
Basic utilities to make nasty PHP E_* errors more usable
https://github.com/pmmp/errorhandler
github-actions-enabled on-packagist php83 phpstan-l8 phpstan-strict
Last synced: 3 months ago
JSON representation
Basic utilities to make nasty PHP E_* errors more usable
- Host: GitHub
- URL: https://github.com/pmmp/errorhandler
- Owner: pmmp
- License: lgpl-3.0
- Created: 2020-05-10T11:23:27.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-01T10:19:05.000Z (7 months ago)
- Last Synced: 2024-10-07T10:56:27.694Z (3 months ago)
- Topics: github-actions-enabled, on-packagist, php83, phpstan-l8, phpstan-strict
- Language: PHP
- Homepage:
- Size: 61.5 KB
- Stars: 4
- Watchers: 10
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ErrorHandler
![CI](https://github.com/pmmp/ErrorHandler/workflows/CI/badge.svg?branch=master)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 `\ErrorException`s.
- `ErrorTypeToStringMap` contains a utility to convert E_* codes into human-readable text.