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.



361
362
363
364
# File 'app/jobs/base.rb', line 361

def initialize(ex)
  super("Wrapped #{ex.class}: #{ex.message}")
  @wrapped = ex
end

Instance Attribute Details

#wrappedObject

Returns the value of attribute wrapped.



360
361
362
# File 'app/jobs/base.rb', line 360

def wrapped
  @wrapped
end