Exception: ActiveJob::DeserializationError

Inherits:
StandardError
  • Object
show all
Defined in:
activejob/lib/active_job/arguments.rb

Overview

Raised when an exception is raised during job arguments deserialization.

Wraps the original exception raised as cause.

Instance Method Summary collapse

Constructor Details

#initializeDeserializationError

:nodoc:



10
11
12
13
# File 'activejob/lib/active_job/arguments.rb', line 10

def initialize #:nodoc:
  super("Error while trying to deserialize arguments: #{$!.message}")
  set_backtrace $!.backtrace
end