reraise
Reraise exception.
def reraise(
tp: type,
value: Exception,
tb: traceback = None
) - > null
Reraise exception.
Parameters
| Name | Type | Description |
|---|---|---|
| tp | type | The type of the exception to be raised. |
| value | Exception | The exception instance to be raised. |
| tb | traceback = None | The traceback object to associate with the exception; if provided and different from the current traceback, it is attached to the exception instance. |
Returns
| Type | Description |
|---|---|
null | This function does not return a value as it always raises an exception. |