Exception: ConfigOMat::ConfigItem::ValidationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- ConfigOMat::ConfigItem::ValidationError
- Defined in:
- lib/config_o_mat/shared/types.rb
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.
58 59 60 61 |
# File 'lib/config_o_mat/shared/types.rb', line 58 def initialize(errors) @errors = errors super(errors.to_s) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
56 57 58 |
# File 'lib/config_o_mat/shared/types.rb', line 56 def errors @errors end |