Exception: PortAuthority::Errors::ETCDIsSick
- Inherits:
-
StandardError
- Object
- StandardError
- PortAuthority::Errors::ETCDIsSick
- Defined in:
- lib/port-authority.rb
Instance Attribute Summary collapse
-
#etcd ⇒ Object
readonly
Returns the value of attribute etcd.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(etcd, message = 'ETCD is not healthy') ⇒ ETCDIsSick
constructor
A new instance of ETCDIsSick.
Constructor Details
#initialize(etcd, message = 'ETCD is not healthy') ⇒ ETCDIsSick
Returns a new instance of ETCDIsSick.
15 16 17 18 |
# File 'lib/port-authority.rb', line 15 def initialize(etcd, = 'ETCD is not healthy') @message = @etcd = etcd end |
Instance Attribute Details
#etcd ⇒ Object (readonly)
Returns the value of attribute etcd.
14 15 16 |
# File 'lib/port-authority.rb', line 14 def etcd @etcd end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
14 15 16 |
# File 'lib/port-authority.rb', line 14 def @message end |