Method ErrorToString
ErrorToString(StatusCode, ulong)
Convert a UTP error code to human-readable error message.
Declaration
public static string ErrorToString(StatusCode error, ulong connectionId)
Parameters
| Type | Name | Description |
|---|---|---|
| StatusCode | error | UTP error code. |
| ulong | connectionId | ID of the connection on which the error occurred. |
Returns
| Type | Description |
|---|---|
| string | Human-readable error message. |