Exception: Og::StoreException

Inherits:
Exception
  • Object
show all
Defined in:
lib/og/errors.rb

Overview

This exception is thrown when a low level error happens in the store.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#infoObject

Returns the value of attribute info.



7
8
9
# File 'lib/og/errors.rb', line 7

def info
  @info
end

#original_exceptionObject

Returns the value of attribute original_exception.



7
8
9
# File 'lib/og/errors.rb', line 7

def original_exception
  @original_exception
end