think\Error::getExceptionHandler PHP Метод

getExceptionHandler() публичный статический Метод

Get an instance of the exception handler.
public static getExceptionHandler ( ) : Handle
Результат think\exception\Handle
    public static function getExceptionHandler()
    {
        static $handle;
        if (!$handle) {
            // 异常处理handle
            $class = Config::get('exception_handle');
            if ($class && class_exists($class) && is_subclass_of($class, "\\think\\exception\\Handle")) {
                $handle = new $class();
            } else {
                $handle = new Handle();
            }
        }
        return $handle;
    }