init(object:traceback:)¶
Initializes a Python exception from a Python exception object.
Declaration
Parameters
object: The Python exception instance.
traceback: An optional precomputed traceback.
Throws
An Exception occurred while parsing the exception object.