Exception: InputSanitizer::NestedError

Inherits:
ValidationError show all
Defined in:
lib/input_sanitizer/errors.rb

Instance Attribute Summary collapse

Attributes inherited from ValidationError

#field, #value

Instance Method Summary collapse

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_errorsObject (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