Skip to main content

UnpickleableException

Exception that doesn't survive a pickling roundtrip (dump + load).

Attributes

AttributeTypeDescription
baranyA required value that must be provided during initialization to ensure the exception can be successfully instantiated.

Constructor

Signature

def UnpickleableException(
foo: Any,
bar: Any = None
)

Parameters

NameTypeDescription
fooAnyThe primary exception message or data passed to the base Exception class.
barAny = NoneA required parameter that must be non-None to prevent a TypeError, used to track unpickling issues.

Signature

def UnpickleableException(
foo: any,
bar: any = None
) - > null

Parameters

NameTypeDescription
fooanyThe primary exception message or data passed to the base Exception class.
barany = NoneA required value that must be non-None to avoid a TypeError, used to track state or trigger failures during deserialization.