Sha256: f0b197e276d5b6bdc3610931593e03ffb9117b1bc76fdf425505d3d0b8192fa4

Contents?: true

Size: 363 Bytes

Versions: 6

Compression:

Stored size: 363 Bytes

Contents

module Figaro
  class Error < StandardError; end

  class RailsNotInitialized < Error; end

  class MissingKey < Error
    def initialize(key)
      super("Missing required configuration key: #{key.inspect}")
    end
  end

  class MissingKeys < Error
    def initialize(keys)
      super("Missing required configuration keys: #{keys.inspect}")
    end
  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
daqing_figaro-1.2.1 lib/figaro/error.rb
figaro-1.2.0 lib/figaro/error.rb
seielit-figaro-1.1.2 lib/figaro/error.rb
figaro-1.1.1 lib/figaro/error.rb
figaro-1.1.0 lib/figaro/error.rb
figaro-1.0.0 lib/figaro/error.rb