PHP Classes
elePHPant
Icontem

File: README.md

Recommend this page to a friend!
  Classes of Nitesh Apte  >  PHP Error and Exception Handling class  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: PHP Error and Exception Handling class
Log PHP exceptions, common and fatal errors
Author: By
Last change:
Date: 7 months ago
Size: 638 bytes
 

Contents

Class file image Download

Advanced Error & Exception Handler and Logger

Handles and logs the errors and exception occurs in the project.

This is an advanced version of https://github.com/niteshapte/error-and-exception-handler-logger-php. In this one you can add custom codes for exception. Make sure when you create/use code for exception it follow some rules. For instance, use code 888 for exceptions occured during database connectivity. So, in case after a month you want to check how many times there was database connectivity failures, you just need to search for 888 in your log file.

Also, it does not matter if exception class is custom or built-in.