Exception: Jobs::HandledExceptionWrapper

Inherits:
StandardError
  • Object
show all
Defined in:
app/jobs/base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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.message}")
  @wrapped = ex
end

Instance Attribute Details

#wrappedObject

Returns the value of attribute wrapped.



335
336
337
# File 'app/jobs/base.rb', line 335

def wrapped
  @wrapped
end