Exception: Flott::FlottException
- Inherits:
-
StandardError
- Object
- StandardError
- Flott::FlottException
- Defined in:
- lib/flott.rb
Overview
The base exception of all Flott Exceptions, Errors.
Direct Known Subclasses
Class Method Summary collapse
-
.wrap(exception) ⇒ Object
Wrap exception into a FlottException, including the given backtrace.
Class Method Details
.wrap(exception) ⇒ Object
Wrap exception into a FlottException, including the given backtrace.
120 121 122 123 124 |
# File 'lib/flott.rb', line 120 def self.wrap(exception) wrapper = new(exception.) wrapper.set_backtrace exception.backtrace wrapper end |