Exception: Promiscuous::Error::Recovery
- Defined in:
- lib/promiscuous/error/recovery.rb
Instance Method Summary collapse
-
#initialize(message, inner = nil) ⇒ Recovery
constructor
A new instance of Recovery.
Constructor Details
#initialize(message, inner = nil) ⇒ Recovery
Returns a new instance of Recovery.
2 3 4 5 6 |
# File 'lib/promiscuous/error/recovery.rb', line 2 def initialize(, inner=nil) = "#{inner.class}: #{inner} -- #{}" if inner super() set_backtrace(inner.backtrace) if inner end |