Exception: ZeevexCluster::Coordinator::CoordinatorError
- Inherits:
-
StandardError
- Object
- StandardError
- ZeevexCluster::Coordinator::CoordinatorError
- Defined in:
- lib/zeevex_cluster/coordinator.rb
Overview
errors throw by these classes
Direct Known Subclasses
Instance Attribute Summary collapse
-
#chained ⇒ Object
Returns the value of attribute chained.
Instance Method Summary collapse
-
#initialize(message, original = nil) ⇒ CoordinatorError
constructor
A new instance of CoordinatorError.
- #to_s ⇒ Object
Constructor Details
#initialize(message, original = nil) ⇒ CoordinatorError
Returns a new instance of CoordinatorError.
9 10 11 12 |
# File 'lib/zeevex_cluster/coordinator.rb', line 9 def initialize(, original = nil) @chained = original super() end |
Instance Attribute Details
#chained ⇒ Object
Returns the value of attribute chained.
8 9 10 |
# File 'lib/zeevex_cluster/coordinator.rb', line 8 def chained @chained end |
Instance Method Details
#to_s ⇒ Object
13 14 15 |
# File 'lib/zeevex_cluster/coordinator.rb', line 13 def to_s @chained ? super + "; chained = #{@chained.inspect}" : super end |