Autarky\Errors\ErrorHandlerManager::callHandler PHP Метод

callHandler() защищенный Метод

Call an exception handler.
protected callHandler ( mixed $handler, Exception $exception ) : mixed
$handler mixed
$exception Exception
Результат mixed
    protected function callHandler($handler, Exception $exception)
    {
        if ($handler instanceof ErrorHandlerInterface) {
            return $handler->handle($exception);
        }
        return call_user_func($handler, $exception);
    }