GetErrorCode
Gets the error code of the passed error if it has one.
def GetErrorCode(
e: error
) - > tuple
Gets the error code of the passed error if it has one.
Parameters
| Name | Type | Description |
|---|---|---|
| e | error | The error object to check for an error code. |
Returns
| Type | Description |
|---|---|
tuple | A tuple containing the ErrorCode and a boolean indicating if an error code was found. |