Exception: Og::StoreException
- Inherits:
-
Exception
- Object
- Exception
- Og::StoreException
- Defined in:
- lib/og/errors.rb
Overview
This exception is thrown when a low level error happens in the store.
Instance Attribute Summary collapse
-
#info ⇒ Object
Returns the value of attribute info.
-
#original_exception ⇒ Object
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(original_exception, info = nil) ⇒ StoreException
constructor
A new instance of StoreException.
Constructor Details
#initialize(original_exception, info = nil) ⇒ StoreException
Returns a new instance of StoreException.
9 10 11 |
# File 'lib/og/errors.rb', line 9 def initialize(original_exception, info = nil) @original_exception, @info = original_exception, info end |
Instance Attribute Details
#info ⇒ Object
Returns the value of attribute info.
7 8 9 |
# File 'lib/og/errors.rb', line 7 def info @info end |
#original_exception ⇒ Object
Returns the value of attribute original_exception.
7 8 9 |
# File 'lib/og/errors.rb', line 7 def original_exception @original_exception end |