Exception: Vkit::Policy::ValidateBundle::ValidationError
- Inherits:
-
StandardError
- Object
- StandardError
- Vkit::Policy::ValidateBundle::ValidationError
- Defined in:
- lib/vkit/policy/validate_bundle.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.
30 31 32 33 |
# File 'lib/vkit/policy/validate_bundle.rb', line 30 def initialize(errors) @errors = errors super("Bundle schema validation failed") end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
28 29 30 |
# File 'lib/vkit/policy/validate_bundle.rb', line 28 def errors @errors end |