Exception: Garage::HTTPError
- Inherits:
-
StandardError
- Object
- StandardError
- Garage::HTTPError
- Defined in:
- lib/garage/exceptions.rb
Direct Known Subclasses
AuthBackendError, AuthBackendTimeout, BadRequest, Unauthorized
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Instance Method Summary collapse
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
3 4 5 |
# File 'lib/garage/exceptions.rb', line 3 def status @status end |
Instance Method Details
#status_code ⇒ Object
4 5 6 |
# File 'lib/garage/exceptions.rb', line 4 def status_code Rack::Utils.status_code(status) end |