Exception: Redlock::LockAcquisitionError
- Defined in:
- lib/redlock/client.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(message, errors) ⇒ LockAcquisitionError
constructor
A new instance of LockAcquisitionError.
Constructor Details
#initialize(message, errors) ⇒ LockAcquisitionError
Returns a new instance of LockAcquisitionError.
11 12 13 14 |
# File 'lib/redlock/client.rb', line 11 def initialize(, errors) super() @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
9 10 11 |
# File 'lib/redlock/client.rb', line 9 def errors @errors end |