classes/Errors/ErrorHandlerManager.php
protected function callHandler($handler, Exception $exception)
	{
		if ($handler instanceof ErrorHandlerInterface) {
			return $handler->handle($exception);
		}

		return call_user_func($handler, $exception);
	}
protected function callHandler($handler, Exception $exception)
	{
		if ($handler instanceof ErrorHandlerInterface) {
			return $handler->handle($exception);
		}

		return call_user_func($handler, $exception);
	}
Call an exception handler.

@param  mixed     $handler
@param  Exception $exception

@return mixed