Class ErrorUtilities
Helper utility class to convert
Inherited Members
Namespace: Unity.Netcode.Transports.UTP
Syntax
public static class ErrorUtilities
Methods
ErrorToString(Transport.Error.StatusCode, UInt64)
Convert error code to human readable error message.
Declaration
public static string ErrorToString(Transport.Error.StatusCode error, ulong connectionId)
Parameters
Type | Name | Description |
---|---|---|
Transport.Error.StatusCode | error | Status code of the error |
UInt64 | connectionId | Subject connection ID of the error |
Returns
Type | Description |
---|---|
String | Human readable error message. |