Exception: MotherBrain::InvalidCookbookMetadata
- Inherits:
-
PluginLoadError
- Object
- StandardError
- MBError
- PluginLoadError
- MotherBrain::InvalidCookbookMetadata
- Defined in:
- lib/mb/errors.rb
Constant Summary
Constants inherited from MBError
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ InvalidCookbookMetadata
constructor
A new instance of InvalidCookbookMetadata.
Methods inherited from MBError
#error_code, error_code, exit_code, #exit_code, #message, #to_hash, #to_json, #to_s
Constructor Details
#initialize(errors) ⇒ InvalidCookbookMetadata
Returns a new instance of InvalidCookbookMetadata.
225 226 227 |
# File 'lib/mb/errors.rb', line 225 def initialize(errors) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
223 224 225 |
# File 'lib/mb/errors.rb', line 223 def errors @errors end |