Exception: Rook::CookbookError
- Defined in:
- lib/rook/cookbook.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(message, validation_errors) ⇒ CookbookError
constructor
A new instance of CookbookError.
Constructor Details
#initialize(message, validation_errors) ⇒ CookbookError
Returns a new instance of CookbookError.
21 22 23 |
# File 'lib/rook/cookbook.rb', line 21 def initialize(, validation_errors) @errors = validation_errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
24 25 26 |
# File 'lib/rook/cookbook.rb', line 24 def errors @errors end |