Exception: Riak::FailedRequest

Inherits:
StandardError
  • Object
show all
Includes:
Util::Translation
Defined in:
lib/riak/failed_request.rb

Overview

Exception raised when receiving an unexpected client response from Riak.

Direct Known Subclasses

HTTPFailedRequest, ProtobuffsFailedRequest

Instance Method Summary collapse

Methods included from Util::Translation

#i18n_scope, #t

Constructor Details

#initialize(message) ⇒ FailedRequest

Returns a new instance of FailedRequest.



11
12
13
# File 'lib/riak/failed_request.rb', line 11

def initialize(message)
  super(message ||  t('failed_request'))
end