Author: Manuel Lemos
Updated on: 2022-01-21
Posted on: 2022-01-21
Package: PHP Error Bag
There are non-fatal errors that cause bugs in applications. Applications may have code that can detect these bugs without stopping the rest of the application from working.
When these non-fatal errors happen in the same script, it is helpful to keep track and report all of those errors, so developers can look at them when they debug the applications.
This package can collect these errors in a bag, so they can be processed all at once, for instance, by recording in a log file or sending them to another machine that can make some helpful processing of the errors.
About the PHP Error Bag Package
The package PHP Error Bag is one of the few PHP packages that was considered notable recently because it does something that is worth paying attention.
The basic purpose is: Handle multiple PHP runtime errors using a bag
Here follows in more detail what it does:
This package can handle multiple PHP runtime errors using a bag.
It allows applications to push multiple runtime errors that are queued inside a bag object.
Applications can pull all queue errors as an array to process those errors in a convenient way.
The PHP Error Bag can be downloaded from download page or be installed using the PHP Composer tool following instructions in the Composer install instructions page.
This package was considered notable for implementing its benefits in a way that is worth noticing.
Notable PHP packages can be often considered innovative. If this package is also innovative, it can be nominated to the PHP Innovation Award and the author may win prizes and recognition for sharing innovative packages.
If you also developed your own notable or innovative packages consider sharing them, so you can also earn more visibility for your package as well nice prizes.
One nice prize that many PHP developers want and you may like is the PHP elePHPant mascot plush.
You need to be a registered user or login to post a comment
Login Immediately with your account on:
No comments were submitted yet.