PHP Classes

File: lib/define/utilities/ErrorCodes.php

Recommend this page to a friend!
  Classes of Nitesh Apte   Define MVC PHP 8   lib/define/utilities/ErrorCodes.php   Download  
File: lib/define/utilities/ErrorCodes.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: Define MVC PHP 8
Framework to route requests via a front controller
Author: By
Last change:
Date: 3 years ago
Size: 743 bytes
 

Contents

Class file image Download
<?php
declare(strict_types=1);
namespace
Define\Utilities;

if(
DIRECT_ACCESS != true) die("Direct access is forbidden.");

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'
);