Exception: MotherBrain::NodeSaveFailed
- Defined in:
- lib/mb/errors.rb
Constant Summary
Constants inherited from MBError
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ NodeSaveFailed
constructor
A new instance of NodeSaveFailed.
- #message ⇒ Object
Methods inherited from MBError
#error_code, error_code, exit_code, #exit_code, #to_hash, #to_json, #to_s
Constructor Details
#initialize(name) ⇒ NodeSaveFailed
Returns a new instance of NodeSaveFailed.
688 689 690 |
# File 'lib/mb/errors.rb', line 688 def initialize(name) @name = name end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
686 687 688 |
# File 'lib/mb/errors.rb', line 686 def name @name end |
Instance Method Details
#message ⇒ Object
692 693 694 |
# File 'lib/mb/errors.rb', line 692 def "Saving #{@name} failed. Node is not tagged as disabled in it's run list." end |