Sha256: 0136df12868731513f7216b3cc1e66417aa4710514c71eed8948b14b6e58c0d9

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

require 'riakpb'

module Riakpb
  # Exception raised when the expected response code from Riakpb
  # fails to match the actual response code.
  class SiblingError < StandardError
    include Riakpb::Util::Translation

    attr_reader :key

    def initialize(key)
      @key = key
      super t("unresolved_siblings", :key => @key)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
riakpb-0.3.0 lib/riakpb/sibling_error.rb
riakpb-0.2.3 lib/riakpb/sibling_error.rb
riakpb-0.2.2 lib/riakpb/sibling_error.rb