Exception: PortAuthority::Errors::ETCDConnectFailed
- Inherits:
-
StandardError
- Object
- StandardError
- PortAuthority::Errors::ETCDConnectFailed
- 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 = "Can't connect to ETCD") ⇒ ETCDConnectFailed
constructor
A new instance of ETCDConnectFailed.
Constructor Details
#initialize(etcd, message = "Can't connect to ETCD") ⇒ ETCDConnectFailed
Returns a new instance of ETCDConnectFailed.
7 8 9 10 |
# File 'lib/port-authority.rb', line 7 def initialize(etcd, = "Can't connect to ETCD") = @etcd = etcd end |
Instance Attribute Details
#etcd ⇒ Object (readonly)
Returns the value of attribute etcd.
6 7 8 |
# File 'lib/port-authority.rb', line 6 def etcd @etcd end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
6 7 8 |
# File 'lib/port-authority.rb', line 6 def end |