Error Example

Allow for real-time development

  • Errors are shown
  • Includes of classes that don't exist generate a nice fatal.
  • Basic errors in files are highlighted.

Detailed error messages

  • Show a neatly formatted error, title and backtrace.
  • Use specific types, colors or titles for extra information.
CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Debug array (7) ( 0 => "This is an example", 1 => array (4) ( 0 => true, 1 => 1, 2 => "String", 'last' => NULL, ), 2 => stdClass { 'boolean' => true 'integer' => 1 'string' => "String" 'null' => NULL }, 3 => "<a href=''></a>", 4 => "alert("Test!");", 'Unescaped GET' => array (0) ( ), 'Sanitized GET' => array (0) ( ), ) CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Export Variable "Info message example." CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Error "Error message example." CORE/core/controller.php : 89 CORE/core/controller.php : 70 CORE/core.php : 170 BASE/index.php : 9 Custom Title "Message with custom color/title"
Fatal error: Uncaught Error: Class "App\Controller\Example_Of_Non_Existent_Class" not found in /var/www/site/ul/application/controller/errors.php:33 Stack trace: #0 /var/www/shared/core/core/controller.php(89): App\Controller\Errors->_run() #1 /var/www/shared/core/core/controller.php(70): Core\Controller->_executeRun() #2 /var/www/shared/core/core.php(170): Core\Controller->display() #3 /var/www/site/ul/index.php(9): Core::start() #4 {main} thrown in /var/www/site/ul/application/controller/errors.php on line 33