Exception: Rook::CookbookError

Inherits:
RookError
  • Object
show all
Defined in:
lib/rook/cookbook.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(message, validation_errors)
  @errors = validation_errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



24
25
26
# File 'lib/rook/cookbook.rb', line 24

def errors
  @errors
end