src/Base/ExceptionHandler.php
private function getExceptionName($exception)
    {
        return method_exists($exception, 'getName') ? call_user_func([$exception, 'getName']) : end(explode('\\', get_class($exception)));
    }
private function getExceptionName($exception)
    {
        return method_exists($exception, 'getName') ? call_user_func([$exception, 'getName']) : end(explode('\\', get_class($exception)));
    }
Get exception name (title)
@param \Throwable $exception
@return mixed