Exception: DeskApi::Error::UnprocessableEntity

Inherits:
ClientError show all
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

Attributes inherited from DeskApi::Error

#rate_limit, #response

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

#errorsObject (readonly)

Returns the value of attribute errors.



36
37
38
# File 'lib/desk_api/error/unprocessable_entity.rb', line 36

def errors
  @errors
end