method
new
v5.0.0.1 -
Show latest stable
- Class:
ActiveJob::DeserializationError
new(e = nil)public
No documentation available.
# File activejob/lib/active_job/arguments.rb, line 8
def initialize(e = nil) #:nodoc:
if e
ActiveSupport::Deprecation.warn("Passing #original_exception is deprecated and has no effect. " "Exceptions will automatically capture the original exception.", caller)
end
super("Error while trying to deserialize arguments: #{$!.message}")
set_backtrace $!.backtrace
end