Exception: Creds::MissingKeyError Private
- Inherits:
-
StandardError
- Object
- StandardError
- Creds::MissingKeyError
- Defined in:
- lib/creds/errors.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- MESSAGE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
"Key :%<key>s missing from credentials in \"%<env>s\" env".freeze
Instance Method Summary collapse
-
#initialize(key, env) ⇒ MissingKeyError
constructor
private
A new instance of MissingKeyError.
Constructor Details
#initialize(key, env) ⇒ MissingKeyError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of MissingKeyError.
17 18 19 |
# File 'lib/creds/errors.rb', line 17 def initialize(key, env) super(format(MESSAGE, key: key, env: env)) end |