Exception: Slidict::External::SlidictIo::Client::Unprocessable
- Inherits:
-
Error
- Object
- StandardError
- Error
- Slidict::External::SlidictIo::Client::Unprocessable
- Defined in:
- lib/slidict/external/slidict_io/client.rb
Overview
Raised for 422 responses other than "not_editable", carrying the API's validation errors.
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(message, errors: []) ⇒ Unprocessable
constructor
A new instance of Unprocessable.
Constructor Details
#initialize(message, errors: []) ⇒ Unprocessable
Returns a new instance of Unprocessable.
24 25 26 27 |
# File 'lib/slidict/external/slidict_io/client.rb', line 24 def initialize(, errors: []) super() @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
22 23 24 |
# File 'lib/slidict/external/slidict_io/client.rb', line 22 def errors @errors end |