Exception: Hyperdrive::Errors::BadRequest
- Defined in:
- lib/hyperdrive/errors/bad_request.rb
Instance Attribute Summary
Attributes inherited from HTTPError
Instance Method Summary collapse
-
#initialize ⇒ BadRequest
constructor
A new instance of BadRequest.
Constructor Details
#initialize ⇒ BadRequest
Returns a new instance of BadRequest.
4 5 6 7 |
# File 'lib/hyperdrive/errors/bad_request.rb', line 4 def initialize @http_status_code = 400 @message = 'The request cannot be fulfilled due to bad syntax.' end |