Exception: Ohm::Validations::Presenter::UnhandledErrors
- Inherits:
-
StandardError
- Object
- StandardError
- Ohm::Validations::Presenter::UnhandledErrors
- Defined in:
- lib/ohm/validations.rb
Instance Attribute Summary (collapse)
-
- (Object) errors
readonly
Returns the value of attribute errors.
Instance Method Summary (collapse)
-
- (UnhandledErrors) initialize(errors)
constructor
A new instance of UnhandledErrors.
- - (Object) message
Constructor Details
- (UnhandledErrors) initialize(errors)
A new instance of UnhandledErrors
9 10 11 |
# File 'lib/ohm/validations.rb', line 9 def initialize(errors) @errors = errors end |
Instance Attribute Details
- (Object) errors (readonly)
Returns the value of attribute errors
7 8 9 |
# File 'lib/ohm/validations.rb', line 7 def errors @errors end |
Instance Method Details
- (Object) message
13 14 15 |
# File 'lib/ohm/validations.rb', line 13 def "Unhandled errors: #{errors.inspect}" end |