Exception: Orchestra::MissingProvisionError

Inherits:
Error
  • Object
show all
Defined in:
lib/orchestra/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Error

#list_out

Constructor Details

#initialize(missing_provisions) ⇒ MissingProvisionError

Returns a new instance of MissingProvisionError.



18
19
20
# File 'lib/orchestra/errors.rb', line 18

def initialize missing_provisions
  @missing_provisions = missing_provisions
end

Instance Attribute Details

#nameObject



22
23
24
# File 'lib/orchestra/errors.rb', line 22

def name
  @name ||= "<anonymous>"
end

Instance Method Details

#to_sObject



26
27
28
# File 'lib/orchestra/errors.rb', line 26

def to_s
  "Node `#{name}' failed to supply output: #{list_out @missing_provisions}"
end