Sha256: 526d8e49882ea7bc5f0859acdc6e4b100e41bd925eb04ee7d75cce4d8a85c95c

Contents?: true

Size: 258 Bytes

Versions: 13

Compression:

Stored size: 258 Bytes

Contents

module Dotenv
  class Error < StandardError; end

  class MissingKeys < Error # :nodoc:
    def initialize(keys)
      key_word = "key#{(keys.size > 1) ? "s" : ""}"
      super("Missing required configuration #{key_word}: #{keys.inspect}")
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
dotenv-3.1.7 lib/dotenv/missing_keys.rb
dotenv-3.1.6 lib/dotenv/missing_keys.rb
dotenv-3.1.5 lib/dotenv/missing_keys.rb
dotenv-3.1.4 lib/dotenv/missing_keys.rb
dotenv-3.1.3 lib/dotenv/missing_keys.rb
dotenv-3.1.2 lib/dotenv/missing_keys.rb
dotenv-3.1.1 lib/dotenv/missing_keys.rb
dotenv-3.1.0 lib/dotenv/missing_keys.rb
dotenv-3.0.3 lib/dotenv/missing_keys.rb
dotenv-3.0.2 lib/dotenv/missing_keys.rb
dotenv-3.0.1 lib/dotenv/missing_keys.rb
dotenv-3.0.0 lib/dotenv/missing_keys.rb
dotenv-3.0.0.beta lib/dotenv/missing_keys.rb