Exception: StandardExceptions::Application::ValidationFailed
- Inherits:
-
Failed
- Object
- StandardError
- Exception
- Http::UnprocessableEntity
- Failed
- StandardExceptions::Application::ValidationFailed
- Defined in:
- lib/standard_exceptions/application.rb
Constant Summary collapse
- MESSAGE =
'The requested operation was not successful due to validation errors.'
Constants inherited from Http::UnprocessableEntity
Http::UnprocessableEntity::STATUS
Constants inherited from Exception
Instance Attribute Summary collapse
Attributes inherited from Exception
Method Summary
Methods inherited from Exception
human_name, #human_name, #initialize
Constructor Details
This class inherits a constructor from StandardExceptions::Exception
Instance Attribute Details
#errors ⇒ Object
11 12 13 |
# File 'lib/standard_exceptions/application.rb', line 11 def errors @errors or inner && inner.respond_to?(:errors) && inner.errors end |