Exception: Vault::MissingTokenError
- Inherits:
-
VaultError
- Object
- RuntimeError
- VaultError
- Vault::MissingTokenError
- Defined in:
- lib/vault/errors.rb
Instance Method Summary collapse
-
#initialize ⇒ MissingTokenError
constructor
A new instance of MissingTokenError.
Constructor Details
#initialize ⇒ MissingTokenError
Returns a new instance of MissingTokenError.
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/vault/errors.rb', line 5 def initialize super <<-EOH Missing Vault token! I cannot make requests to Vault without a token. Please set a Vault token: Vault.token = "42d1dee5-eb6e-102c-8d23-cc3ba875da51" Please refer to the documentation for more examples. EOH end |