123456789_123456789_123456789_123456789_123456789_

Exception: ActiveJob::SerializationError

Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
self, ArgumentError
Instance Chain:
self, ArgumentError
Inherits: ArgumentError
  • ::Object
Defined in: activejob/lib/active_job/arguments.rb

Overview

Raised when an unsupported argument type is set as a job argument. We currently support ::NilClass, ::Integer, Fixnum, ::Float, ::String, ::TrueClass, ::FalseClass, Bignum, ::BigDecimal, and objects that can be represented as GlobalIDs (ex: Active Record). Raised if you set the key for a ::Hash something else than a string or a symbol. Also raised when trying to serialize an object which can’t be identified with a Global ID - such as an unpersisted Active Record model.