Exception: Servus::Support::Errors::UnprocessableEntityError
- Inherits:
-
ServiceError
- Object
- StandardError
- ServiceError
- Servus::Support::Errors::UnprocessableEntityError
- Defined in:
- lib/servus/support/errors.rb
Overview
422 Unprocessable Entity - semantic errors in request.
Direct Known Subclasses
Constant Summary collapse
- DEFAULT_MESSAGE =
'Unprocessable entity'
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
99 |
# File 'lib/servus/support/errors.rb', line 99 def api_error = { code: http_status, message: } |
#http_status ⇒ Object
98 |
# File 'lib/servus/support/errors.rb', line 98 def http_status = :unprocessable_entity |