src/Support/ExceptionGenerators/ExceptionGenerator.php
public function next(OrdercloudRequest $request, OrdercloudHttpException $exception)
    {
        return $this->successor->generateException($request, $exception);
    }
public function next(OrdercloudRequest $request, OrdercloudHttpException $exception)
    {
        return $this->successor->generateException($request, $exception);
    }
Pass the exception to be handled by the successor.

@param OrdercloudRequest       $request
@param OrdercloudHttpException $exception

@return OrdercloudRequestException