Exception: Jobs::HandledExceptionWrapper
- Inherits:
-
StandardError
- Object
- StandardError
- Jobs::HandledExceptionWrapper
- Defined in:
- app/jobs/base.rb
Instance Attribute Summary collapse
-
#wrapped ⇒ Object
Returns the value of attribute wrapped.
Instance Method Summary collapse
-
#initialize(ex) ⇒ HandledExceptionWrapper
constructor
A new instance of HandledExceptionWrapper.
Constructor Details
#initialize(ex) ⇒ HandledExceptionWrapper
Returns a new instance of HandledExceptionWrapper.
336 337 338 339 |
# File 'app/jobs/base.rb', line 336 def initialize(ex) super("Wrapped #{ex.class}: #{ex.}") @wrapped = ex end |
Instance Attribute Details
#wrapped ⇒ Object
Returns the value of attribute wrapped.
335 336 337 |
# File 'app/jobs/base.rb', line 335 def wrapped @wrapped end |