Exception: Vault::HTTPConnectionError
- Inherits:
-
VaultError
- Object
- RuntimeError
- VaultError
- Vault::HTTPConnectionError
- Defined in:
- lib/vault/errors.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
readonly
Returns the value of attribute address.
Instance Method Summary collapse
-
#initialize(address) ⇒ HTTPConnectionError
constructor
A new instance of HTTPConnectionError.
Constructor Details
#initialize(address) ⇒ HTTPConnectionError
Returns a new instance of HTTPConnectionError.
20 21 22 23 24 25 26 27 28 |
# File 'lib/vault/errors.rb', line 20 def initialize(address) @address = address super <<-EOH The Vault server at `#{address}' is not currently accepting connections. Please ensure that the server is running an that your authentication information is correct. EOH end |
Instance Attribute Details
#address ⇒ Object (readonly)
Returns the value of attribute address.
18 19 20 |
# File 'lib/vault/errors.rb', line 18 def address @address end |