Exception: ConfigOMat::ConfigItem::ValidationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/config_o_mat/shared/types.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



56
57
58
# File 'lib/config_o_mat/shared/types.rb', line 56

def errors
  @errors
end