Exception: Orchestra::MissingProvisionError
- Defined in:
- lib/orchestra/errors.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(missing_provisions) ⇒ MissingProvisionError
constructor
A new instance of MissingProvisionError.
- #to_s ⇒ Object
Methods inherited from Error
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
#name ⇒ Object
22 23 24 |
# File 'lib/orchestra/errors.rb', line 22 def name @name ||= "<anonymous>" end |
Instance Method Details
#to_s ⇒ Object
26 27 28 |
# File 'lib/orchestra/errors.rb', line 26 def to_s "Node `#{name}' failed to supply output: #{list_out @missing_provisions}" end |