Exception: Bigcommerce::HttpError
- Inherits:
-
StandardError
- Object
- StandardError
- Bigcommerce::HttpError
- Defined in:
- lib/bigcommerce/exception.rb
Direct Known Subclasses
BadGateway, BadRequest, BandwidthLimitExceeded, Forbidden, GatewayTimeout, InternalServerError, MethodNotAllowed, NotAccepted, NotFound, ResourceConflict, ServiceUnavailable, TimeOut, TooManyRequests, Unauthorized
Instance Attribute Summary collapse
-
#response_headers ⇒ Object
Returns the value of attribute response_headers.
Instance Method Summary collapse
-
#initialize(headers) ⇒ HttpError
constructor
A new instance of HttpError.
Constructor Details
#initialize(headers) ⇒ HttpError
Returns a new instance of HttpError.
7 8 9 10 |
# File 'lib/bigcommerce/exception.rb', line 7 def initialize(headers) @response_headers = headers super() end |
Instance Attribute Details
#response_headers ⇒ Object
Returns the value of attribute response_headers.
5 6 7 |
# File 'lib/bigcommerce/exception.rb', line 5 def response_headers @response_headers end |