Jyxo\ErrorHandler::handleException PHP Method

handleException() public static method

Catches exceptions and logs them.
public static handleException ( Exception $exception )
$exception Exception Uncaught exception
    public static function handleException(\Exception $exception)
    {
        self::exception($exception);
        if (self::$errorMail) {
            self::$errorMail->send($exception);
        }
    }