Exception: InputSanitizer::NestedError
- Inherits:
-
ValidationError
- Object
- StandardError
- ValidationError
- InputSanitizer::NestedError
- Defined in:
- lib/input_sanitizer/errors.rb
Instance Attribute Summary collapse
-
#nested_errors ⇒ Object
readonly
Returns the value of attribute nested_errors.
Attributes inherited from ValidationError
Instance Method Summary collapse
-
#initialize(nested_errors) ⇒ NestedError
constructor
A new instance of NestedError.
Constructor Details
#initialize(nested_errors) ⇒ NestedError
Returns a new instance of NestedError.
130 131 132 |
# File 'lib/input_sanitizer/errors.rb', line 130 def initialize(nested_errors) @nested_errors = nested_errors end |
Instance Attribute Details
#nested_errors ⇒ Object (readonly)
Returns the value of attribute nested_errors.
128 129 130 |
# File 'lib/input_sanitizer/errors.rb', line 128 def nested_errors @nested_errors end |