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