Exception: Gly::Exception
- Inherits:
-
StandardError
- Object
- StandardError
- Gly::Exception
- Defined in:
- lib/gly/exceptions.rb
Overview
general application-specific error
Direct Known Subclasses
Instance Attribute Summary collapse
-
#wrapped_exception ⇒ Object
may be nil.
Class Method Summary collapse
Instance Attribute Details
#wrapped_exception ⇒ Object
may be nil
11 12 13 |
# File 'lib/gly/exceptions.rb', line 11 def wrapped_exception @wrapped_exception end |
Class Method Details
.wrap(exception) ⇒ Object
4 5 6 7 8 |
# File 'lib/gly/exceptions.rb', line 4 def self.wrap(exception) e = new exception. e.wrapped_exception = exception e end |