Exception: Veewee::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Veewee::Error
- Defined in:
- lib/veewee/error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#orginal ⇒ Object
readonly
Returns the value of attribute orginal.
Instance Method Summary collapse
-
#initialize(msg, original = $!) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, original = $!) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/veewee/error.rb', line 5 def initialize(msg, original = $!) super(msg) @original = original end |
Instance Attribute Details
#orginal ⇒ Object (readonly)
Returns the value of attribute orginal.
3 4 5 |
# File 'lib/veewee/error.rb', line 3 def orginal @orginal end |