Exception: HasGlobalSession::UnserializableType

Inherits:
Exception
  • Object
show all
Defined in:
lib/has_global_session.rb

Overview

Indicates that application code tried to put an unserializable object into the glboal session hash. Because the global session is serialized as JSON and not all Ruby types can be easily round-tripped to JSON and back without data loss, we constrain the types that can be serialized.

See HasGlobalSession::Encoding::JSON for more information on serializable types.