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)    
Last Updated Ratings Unique User Downloads Download Rankings
2021-12-09 (10 months ago) RSS 2.0 feedNot yet rated by the usersTotal: 103 This week: 2All time: 9,603 This week: 64Up
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: 19 packages by
Country: Bangladesh Bangladesh
Age: 31
All time rank: 84413 in Bangladesh Bangladesh
Week rank: 57 Up3 in Bangladesh Bangladesh Up
Innovation award
Innovation award
Nominee: 5x

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:103
This week:2
All time:9,603
This week:64Up
For more information send a message to info at phpclasses dot org.