Exception: Frise::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Frise::ValidationError
- 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
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ ValidationError
constructor
A new instance of ValidationError.
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
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
223 224 225 |
# File 'lib/frise/validator.rb', line 223 def errors @errors end |