Exception: DeskApi::Error::UnprocessableEntity
- Inherits:
-
ClientError
- Object
- StandardError
- DeskApi::Error
- ClientError
- DeskApi::Error::UnprocessableEntity
- Defined in:
- lib/desk_api/error/unprocessable_entity.rb
Overview
Raised when desk.com returns the HTTP status code 422
Constant Summary collapse
- HTTP_STATUS_CODE =
422
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Attributes inherited from DeskApi::Error
Method Summary
Methods inherited from DeskApi::Error
#backtrace, descendants, errors, from_response, inherited, #initialize
Constructor Details
This class inherits a constructor from DeskApi::Error
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
36 37 38 |
# File 'lib/desk_api/error/unprocessable_entity.rb', line 36 def errors @errors end |