Sha256: e93590a185167c2781da3326543685d53a755e8da36e01e441196024469d1bf2
Contents?: true
Size: 597 Bytes
Versions: 7
Compression:
Stored size: 597 Bytes
Contents
require 'riak' module Riak # Exception raised when the expected response code from Riak # fails to match the actual response code. class FailedExchange < StandardError include Util::Translation attr_reader :expected attr_reader :actual attr_reader :output attr_reader :stub def initialize(expected, actual, output, stub) @expected, @actual, @output, @stub = expected, actual, output, stub super t("failed_rx", :failure => t(@stub, :expected => @expected, :actual => @actual, :output => @output.inspect) ) end end end
Version data entries
7 entries across 7 versions & 1 rubygems