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
62 63 64 |
# File 'lib/ohm/validations.rb', line 62 def initialize(errors) @errors = errors end |
Instance Attribute Details
- (Object) errors (readonly)
Returns the value of attribute errors
60 61 62 |
# File 'lib/ohm/validations.rb', line 60 def errors @errors end |
Instance Method Details
- (Object) message
66 67 68 |
# File 'lib/ohm/validations.rb', line 66 def "Unhandled errors: #{errors.inspect}" end |