public static function exceptionHandler($exception)
    {
        if (DEBUG) {
            self::outputErrorHtml($exception->getMessage(), @$exception->timestamp, $exception->getFile(), $exception->getLine(), $exception);
        }
        elseif ($exception instanceof ConfigurationException) {
            self::outputErrorHtml("Configuration error", @$exception->timestamp, false, false, "Please contact administrator.");
        }
        
        error_log($exception);
    }
public static function exceptionHandler($exception)
    {
        if (DEBUG) {
            self::outputErrorHtml($exception->getMessage(), @$exception->timestamp, $exception->getFile(), $exception->getLine(), $exception);
        }
        elseif ($exception instanceof ConfigurationException) {
            self::outputErrorHtml("Configuration error", @$exception->timestamp, false, false, "Please contact administrator.");
        }
        
        error_log($exception);
    }
public static function exceptionHandler ( $ exception ) { if ( DEBUG ) { self :: outputErrorHtml ( $ exception -> getMessage ( ) , @ $ exception -> timestamp , $ exception -> getFile ( ) , $ exception -> getLine ( ) , $ exception ) ; } elseif ( $ exception instanceof ConfigurationException ) { self :: outputErrorHtml ( "Configuration error" , @ $ exception -> timestamp , false , false , "Please contact administrator." ) ; } error_log ( $ exception ) ; }
Xentriq's exception handler.

@param \Exception $exception
The exception to handle.
Xentriq s exception handler .