Exception: Envee::MissingValuesError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/envee.rb

Overview

Error thrown by validate when there are missing keys

Instance Method Summary collapse

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