Exception: Creds::MissingKeyError
- Inherits:
-
StandardError
- Object
- StandardError
- Creds::MissingKeyError
- Defined in:
- lib/creds.rb
Constant Summary collapse
- MESSAGE =
"Key :%<key>s missing from credentials in \"%<env>s\" env".freeze
Instance Method Summary collapse
-
#initialize(key, env) ⇒ MissingKeyError
constructor
A new instance of MissingKeyError.
Constructor Details
#initialize(key, env) ⇒ MissingKeyError
Returns a new instance of MissingKeyError.
32 33 34 |
# File 'lib/creds.rb', line 32 def initialize(key, env) super(format(MESSAGE, key: key, env: env)) end |