Exception: Vault::MissingTokenError

Inherits:
VaultError
  • Object
show all
Defined in:
lib/vault/errors.rb

Instance Method Summary collapse

Constructor Details

#initializeMissingTokenError

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