Exception: Riakpb::SiblingError
- Inherits:
-
StandardError
- Object
- StandardError
- Riakpb::SiblingError
- Includes:
- Util::Translation
- Defined in:
- lib/riakpb/sibling_error.rb
Overview
Exception raised when the expected response code from Riakpb fails to match the actual response code.
Instance Attribute Summary collapse
-
#key ⇒ Object
readonly
Returns the value of attribute key.
Instance Method Summary collapse
-
#initialize(key) ⇒ SiblingError
constructor
A new instance of SiblingError.
Methods included from Util::Translation
Constructor Details
#initialize(key) ⇒ SiblingError
Returns a new instance of SiblingError.
11 12 13 14 |
# File 'lib/riakpb/sibling_error.rb', line 11 def initialize(key) @key = key super t("unresolved_siblings", :key => @key) end |
Instance Attribute Details
#key ⇒ Object (readonly)
Returns the value of attribute key.
9 10 11 |
# File 'lib/riakpb/sibling_error.rb', line 9 def key @key end |