Sha256: e8a5aa59f748cbd98decf93e09142974f42ae0db68bce2841b29a9aeac89d4d7

Contents?: true

Size: 253 Bytes

Versions: 1

Compression:

Stored size: 253 Bytes

Contents

class SmartKv
  CheckError = Class.new(StandardError)

  class KeyError < ::KeyError
    attr_reader :key, :receiver

    def initialize(message, key: nil, receiver: {})
      @key = key
      @receiver = receiver
      super(message)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
smart_kv-0.2.7 lib/smart_kv/errors.rb