Sha256: e93c377405b045bb05579b2416d02394d5ba35c94562ba756497bb104b371093

Contents?: true

Size: 318 Bytes

Versions: 4

Compression:

Stored size: 318 Bytes

Contents

# frozen_string_literal: true

module Chamber
module Errors
class  MissingIndex < ::IndexError
  def initialize(missing_index, all_keys)
    super(<<~HEREDOC.chomp)
      You attempted to access setting '#{all_keys.join(':')}' but the index '#{missing_index}' in the array did not exist.
    HEREDOC
  end
end
end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
chamber-3.1.1 lib/chamber/errors/missing_index.rb
chamber-3.1.0 lib/chamber/errors/missing_index.rb
chamber-3.0.1 lib/chamber/errors/missing_index.rb
chamber-3.0.0 lib/chamber/errors/missing_index.rb