Exception: ActiveJob::DeserializationError

Inherits:
StandardError
  • Object
show all
Defined in:
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:



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

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