Exception: Frise::ValidationError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/frise/validator.rb

Overview

An error resulting of the validation of a config. The list of errors can be inspected using the errors method.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ ValidationError

Returns a new instance of ValidationError.



225
226
227
228
229
# File 'lib/frise/validator.rb', line 225

def initialize(errors)
  super()

  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



223
224
225
# File 'lib/frise/validator.rb', line 223

def errors
  @errors
end