UnpickleableException
Exception that doesn't survive a pickling roundtrip (dump + load).
Attributes
| Attribute | Type | Description |
|---|---|---|
| bar | any | A 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
| Name | Type | Description |
|---|---|---|
| foo | Any | The primary exception message or data passed to the base Exception class. |
| bar | Any = None | A 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
| Name | Type | Description |
|---|---|---|
| foo | any | The primary exception message or data passed to the base Exception class. |
| bar | any = None | A required value that must be non-None to avoid a TypeError, used to track state or trigger failures during deserialization. |