Exception: VinqueryException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/vinquery/vinquery_exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = nil, exception = nil) ⇒ VinqueryException

Returns a new instance of VinqueryException.



3
4
5
6
# File 'lib/vinquery/vinquery_exception.rb', line 3

def initialize(msg=nil, exception=nil)
  super(msg)
  original_exception = exception
end

Instance Attribute Details

#original_exceptionObject

Returns the value of attribute original_exception.



2
3
4
# File 'lib/vinquery/vinquery_exception.rb', line 2

def original_exception
  @original_exception
end