class ActiveJob::DeserializationError

Parent:
StandardError

Raised when an exception is raised during job arguments deserialization.

Wraps the original exception raised as cause.

Public Instance Methods

original_exception() Show source
# File activejob/lib/active_job/arguments.rb, line 20
def original_exception
  ActiveSupport::Deprecation.warn("#original_exception is deprecated. Use #cause instead.", caller)
  cause
end

The original exception that was raised during deserialization of job arguments.

© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.