Exception: DataBindings::FailedValidation
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- DataBindings::FailedValidation
- Defined in:
- lib/data_bindings/util.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#original ⇒ Object
readonly
Returns the value of attribute original.
Instance Method Summary collapse
-
#initialize(message, errors, original) ⇒ FailedValidation
constructor
A new instance of FailedValidation.
Constructor Details
#initialize(message, errors, original) ⇒ FailedValidation
Returns a new instance of FailedValidation.
4 5 6 7 |
# File 'lib/data_bindings/util.rb', line 4 def initialize(, errors, original) @errors, @original = errors, original super end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
3 4 5 |
# File 'lib/data_bindings/util.rb', line 3 def errors @errors end |
#original ⇒ Object (readonly)
Returns the value of attribute original.
3 4 5 |
# File 'lib/data_bindings/util.rb', line 3 def original @original end |