Exception: Servus::Support::Errors::ValidationError
- Inherits:
-
UnprocessableEntityError
- Object
- StandardError
- ServiceError
- UnprocessableEntityError
- Servus::Support::Errors::ValidationError
- Defined in:
- lib/servus/support/errors.rb
Overview
422 Validation Error - schema or business validation failed.
Constant Summary collapse
- DEFAULT_MESSAGE =
'Validation failed'
Instance Attribute Summary
Attributes inherited from ServiceError
Instance Method Summary collapse
Methods inherited from UnprocessableEntityError
Methods inherited from ServiceError
Constructor Details
This class inherits a constructor from Servus::Support::Errors::ServiceError
Instance Method Details
#api_error ⇒ Object
106 |
# File 'lib/servus/support/errors.rb', line 106 def api_error = { code: http_status, message: } |