get_pickled_exception
Reverse of :meth:get_pickleable_exception.
def get_pickled_exception(
exc: Union[Exception, UnpickleableExceptionWrapper]
) - > Exception
Reverse of :meth:get_pickleable_exception.
Parameters
| Name | Type | Description |
|---|---|---|
| exc | Union[Exception, UnpickleableExceptionWrapper] | The exception object to process, which may be an instance of UnpickleableExceptionWrapper needing restoration. |
Returns
| Type | Description |
|---|---|
Exception | The original exception restored from its wrapper, or the input exception if it was not wrapped. |