src/Support/Http/OrdercloudHttpException.php
public static function create(Response $response, Exception $previousException = null)
    {
        return new static($response, $response->getRequest(), $previousException);
    }
public static function create(Response $response, Exception $previousException = null)
    {
        return new static($response, $response->getRequest(), $previousException);
    }
@param Response  $response
@param Exception $previousException

@return static