PHP Classes
elePHPant
Icontem

File: ErrorCodes.inc

Recommend this page to a friend!
  Classes of Nitesh Apte  >  PHP Error and Exception Handling class  >  ErrorCodes.inc  >  Download  
File: ErrorCodes.inc
Role: Configuration script
Content type: text/plain
Description: Contains error codes
Class: PHP Error and Exception Handling class
Log PHP exceptions, common and fatal errors
Author: By
Last change: Create ErrorCodes.inc
Date: 6 months ago
Size: 616 bytes
 

Contents

Class file image Download
<?php
return array (
           
E_ERROR => 'ERROR',
           
E_WARNING => 'WARNING',
           
E_PARSE => 'PARSING ERROR',
           
E_NOTICE => 'NOTICE',
           
E_CORE_ERROR => 'CORE ERROR',
           
E_CORE_WARNING => 'CORE WARNING',
           
E_COMPILE_ERROR => 'COMPILE ERROR',
           
E_COMPILE_WARNING => 'COMPILE WARNING',
           
E_USER_ERROR => 'USER ERROR',
           
E_USER_WARNING => 'USER WARNING',
           
E_USER_NOTICE => 'USER NOTICE',
           
E_STRICT => 'STRICT',
           
E_RECOVERABLE_ERROR => 'RECOVERABLE ERROR',
           
E_DEPRECATED => 'DEPRECATED',
           
E_USER_DEPRECATED => 'USER_DEPRECATED'
   
);
?>