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