Exception: VinqueryException
- Inherits:
-
StandardError
- Object
- StandardError
- VinqueryException
- Defined in:
- lib/vinquery/vinquery_exception.rb
Instance Attribute Summary collapse
-
#original_exception ⇒ Object
Returns the value of attribute original_exception.
Instance Method Summary collapse
-
#initialize(msg = nil, exception = nil) ⇒ VinqueryException
constructor
A new instance of VinqueryException.
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_exception ⇒ Object
Returns the value of attribute original_exception.
2 3 4 |
# File 'lib/vinquery/vinquery_exception.rb', line 2 def original_exception @original_exception end |