File code/class/ExceptionCatcher.php
class Lia\ExceptionCatcher
Catches exceptions & provides helpful error messages
See source code at /code/class/ExceptionCatcher.php
Constants
Properties
-
protected $trace;
-
protected $message;
-
protected $dir;
-
protected $subs = [];
-
public $liaMessage;
Methods
-
static public function message($e)
prints the informative message (use output buffering if you want) -
static public function trace($e)
prints the stack trace -
static public function throw($e, $print_messages=true)
throw the given error after printing a custom trace and message -
static public function report($trace_entry)
-
static public function dir()
-
static public function getExternalTrace($exception)