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.
361 362 363 364 |
# File 'app/jobs/base.rb', line 361 def initialize(ex) super("Wrapped #{ex.class}: #{ex.}") @wrapped = ex end |
Instance Attribute Details
#wrapped ⇒ Object
Returns the value of attribute wrapped.
360 361 362 |
# File 'app/jobs/base.rb', line 360 def wrapped @wrapped end |