Exception: Vox::HTTP::Error
- Defined in:
- lib/vox/http/error.rb
Overview
Standard API errors for bad requests
Direct Known Subclasses
BadRequest, Forbidden, GatewayUnavailable, MethodNotAllowed, NotFound, TooManyRequests, Unauthorized
Defined Under Namespace
Classes: BadRequest, Forbidden, GatewayUnavailable, MethodNotAllowed, NotFound, ServerError, TooManyRequests, Unauthorized
Instance Attribute Summary collapse
-
#data ⇒ Hash<Symbol, Object>
readonly
The response object.
-
#trace ⇒ String?
readonly
The trace identifier this error originated from.
Instance Attribute Details
#data ⇒ Hash<Symbol, Object> (readonly)
Returns The response object.
8 9 10 |
# File 'lib/vox/http/error.rb', line 8 def data @data end |
#trace ⇒ String? (readonly)
Returns The trace identifier this error originated from.
11 12 13 |
# File 'lib/vox/http/error.rb', line 11 def trace @trace end |