class ActiveJob::DeserializationError
Wraps the original exception raised as original_exception
.
Raised when an exception is raised during job arguments deserialization.
def initialize(e) #:nodoc:
def initialize(e) #:nodoc: super("Error while trying to deserialize arguments: #{e.message}") @original_exception = e set_backtrace e.backtrace end