Exception: Riak::BackwardsClockError

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

Overview

Raised when calling Stamp#next and NTP or some other external event has moved the system clock backwards.

Instance Method Summary collapse

Methods included from Util::Translation

#i18n_scope, #t

Constructor Details

#initialize(delay) ⇒ BackwardsClockError

Returns a new instance of BackwardsClockError.



73
74
75
# File 'lib/riak/stamp.rb', line 73

def initialize(delay)
  super t('backwards_clock', :delay => delay)
end