Exception: HttpResource::RedirectError

Inherits:
ApiError
  • Object
show all
Defined in:
lib/http_resource/errors.rb

Overview

3xx — the server returned a redirect (Net::HTTP does not follow them). Almost always a misconfigured base_url (e.g. http:// hitting an https redirect); not retryable. Neither client_error? nor server_error?.

Instance Attribute Summary

Attributes inherited from ApiError

#body, #status

Method Summary

Methods inherited from ApiError

#client_error?, for_status, #initialize, #not_found?, #server_error?

Constructor Details

This class inherits a constructor from HttpResource::ApiError