Exception: Servus::Support::Errors::UnprocessableContentError
- Inherits:
-
UnprocessableEntityError
- Object
- StandardError
- ServiceError
- UnprocessableEntityError
- Servus::Support::Errors::UnprocessableContentError
- Defined in:
- lib/servus/support/errors.rb
Overview
422 Unprocessable Content - content could not be processed.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Unprocessable content'
Instance Attribute Summary
Attributes inherited from ServiceError
Instance Method Summary collapse
Methods inherited from ServiceError
Constructor Details
This class inherits a constructor from Servus::Support::Errors::ServiceError
Instance Method Details
#api_error ⇒ Object
260 |
# File 'lib/servus/support/errors.rb', line 260 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
259 |
# File 'lib/servus/support/errors.rb', line 259 def http_status = :unprocessable_content |