Exception: Envee::MissingValuesError
- Inherits:
-
StandardError
- Object
- StandardError
- Envee::MissingValuesError
- Defined in:
- lib/envee.rb
Overview
Error thrown by validate when there are missing keys
Instance Method Summary collapse
-
#initialize(missing_keys) ⇒ MissingValuesError
constructor
A new instance of MissingValuesError.
Constructor Details
#initialize(missing_keys) ⇒ MissingValuesError
Returns a new instance of MissingValuesError.
8 9 10 11 12 13 |
# File 'lib/envee.rb', line 8 def initialize(missing_keys) super( "The following environment variables are not set, but should be:\n"\ "#{missing_keys.join("\n")}\n" ) end |