PHP Classes

PHP Error Bag: Handle multiple PHP runtime errors using a bag

Recommend this page to a friend!
  Info   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 106 All time: 9,686 This week: 660Up
Version License PHP version Categories
errorbag 1.0.0MIT/X Consortium ...5PHP 5, Language
Description 

Author

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.

Innovation Award
PHP Programming Innovation award nominee
December 2021
Number 7
Good error handling is necessary to help developers discover and fix eventual bugs.

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.

Manuel Lemos
Picture of Nahid Bin Azhar
  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 23 packages by
Country: United States United States
Age: 33
All time rank: 806110 in United States United States
Week rank: 95 Up7 in United States United States Up
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

Details

ErrorBag

A PHP package to contain and manage errors


  Files folder image Files  
File Role Description
Files folder imagesrc (2 files)
Files folder imagetests (1 file, 1 directory)
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file phpunit.xml Data Auxiliary data
Accessible without login Plain text file README.md Data Read me

  Files folder image Files  /  src  
File Role Description
  Plain text file Bug.php Class Class source
  Plain text file Error.php Class Class source

  Files folder image Files  /  tests  
File Role Description
Files folder imageErrorBag (1 file)
  Accessible without login Plain text file bootstrap.php Aux. Auxiliary script

  Files folder image Files  /  tests  /  ErrorBag  
File Role Description
  Plain text file ErrorBagTest.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:106
This week:0
All time:9,686
This week:660Up