Exception: EML::REST::BadRequestError
- Inherits:
-
EML::RESTError
- Object
- StandardError
- Error
- EML::RESTError
- EML::REST::BadRequestError
- Defined in:
- lib/eml/error/rest/bad_request.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, response = nil) ⇒ BadRequestError
constructor
A new instance of BadRequestError.
Methods inherited from EML::RESTError
#http_body, #http_headers, #http_status, #url
Constructor Details
#initialize(message = nil, response = nil) ⇒ BadRequestError
Returns a new instance of BadRequestError.
13 14 15 16 17 |
# File 'lib/eml/error/rest/bad_request.rb', line 13 def initialize( = nil, response = nil) ||= "The request could not be Fault information understood " \ "by the server due to malformed syntax" super(, response) end |