Exception: Blingee::Error
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Blingee::Error
- Defined in:
- lib/blingee/exceptions.rb
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.from_exception(e) ⇒ Object
5 6 7 8 9 |
# File 'lib/blingee/exceptions.rb', line 5 def self.from_exception(e) new("#{e.class.name}: #{e.}").tap do |exception| exception.set_backtrace(e.backtrace) end end |