Exception: StandardExceptions::Application::ValidationFailed

Inherits:
Failed show all
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

Exception::STATUS

Instance Attribute Summary collapse

Attributes inherited from Exception

#inner, #status

Method Summary

Methods inherited from Exception

human_name, #human_name, #initialize

Constructor Details

This class inherits a constructor from StandardExceptions::Exception

Instance Attribute Details

#errorsObject



11
12
13
# File 'lib/standard_exceptions/application.rb', line 11

def errors
  @errors or inner && inner.respond_to?(:errors) && inner.errors
end