Exception: Hyperdrive::Errors::BadRequest

Inherits:
HTTPError
  • Object
show all
Defined in:
lib/hyperdrive/errors/bad_request.rb

Instance Attribute Summary

Attributes inherited from HTTPError

#http_status_code, #message

Instance Method Summary collapse

Constructor Details

#initializeBadRequest

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