Class ErrorUtilities
Utility class to convert Unity Transport error codes to human-readable error messages.
Inherited Members
Namespace: Unity.Netcode.Transports.UTP
Assembly: Unity.Netcode.Runtime.dll
Syntax
public static class ErrorUtilities
  Methods
ErrorToString(StatusCode, ulong)
Convert a Unity Transport error code to human-readable error message.
Declaration
public static string ErrorToString(StatusCode error, ulong connectionId)
  Parameters
| Type | Name | Description | 
|---|---|---|
| StatusCode | error | Unity Transport error code.  | 
      
| ulong | connectionId | ID of connection on which error occurred (unused).  | 
      
Returns
| Type | Description | 
|---|---|
| string | Human-readable error message.  |