Exception: ShinseiConfig::ValidationError
- Defined in:
- lib/shinsei_config/validation_error.rb
Overview
Raised when config validation fails
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
12 13 14 15 |
# File 'lib/shinsei_config/validation_error.rb', line 12 def initialize(errors) @errors = errors super(format_errors) end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
9 10 11 |
# File 'lib/shinsei_config/validation_error.rb', line 9 def errors @errors end |