Exception: Shark::UnprocessableEntity
- Inherits:
-
ClientError
- Object
- StandardError
- Error
- ApiError
- ClientError
- Shark::UnprocessableEntity
- Defined in:
- lib/shark/error.rb
Instance Attribute Summary
Attributes inherited from ApiError
Instance Method Summary collapse
Methods inherited from ApiError
Constructor Details
This class inherits a constructor from Shark::ApiError
Instance Method Details
#errors ⇒ Object
44 45 46 |
# File 'lib/shark/error.rb', line 44 def errors body['errors'] || {} end |
#message ⇒ Object
48 49 50 |
# File 'lib/shark/error.rb', line 48 def errors.to_json end |