Exception: Riak::TlsError::ReadDataError

Inherits:
Riak::TlsError show all
Defined in:
lib/riak/errors/connection_error.rb

Instance Method Summary collapse

Methods included from Util::Translation

#i18n_scope, #t

Constructor Details

#initialize(actual, candidate) ⇒ ReadDataError

Returns a new instance of ReadDataError


33
34
35
# File 'lib/riak/errors/connection_error.rb', line 33

def initialize(actual, candidate)
  super t('ssl.read_data_error', actual: actual, candidate: candidate)
end