Exception: Veeqo::HttpError
- Inherits:
-
StandardError
- Object
- StandardError
- Veeqo::HttpError
- Defined in:
- lib/veeqo/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.
4 5 6 |
# File 'lib/veeqo/exception.rb', line 4 def initialize(headers) @response_headers = headers end |
Instance Attribute Details
#response_headers ⇒ Object
Returns the value of attribute response_headers.
3 4 5 |
# File 'lib/veeqo/exception.rb', line 3 def response_headers @response_headers end |