Skip to main content

Class ErrorUtilities

Helper utility class to convert error codes to human readable error messages.

Inheritance#

System.Object

ErrorUtilities

Inherited Members#

System.Object.Equals(System.Object)

System.Object.Equals(System.Object, System.Object)

System.Object.GetHashCode()

System.Object.GetType()

System.Object.MemberwiseClone()

System.Object.ReferenceEquals(System.Object, System.Object)

System.Object.ToString()

Namespace: Unity.Netcode.Transports.UTP#
Assembly: MLAPI.dll#
Syntax#
public static class ErrorUtilities

Methods#

ErrorToString(Networking.Transport.Error.StatusCode, UInt64)#

Convert error code to human readable error message.

Declaration#
public static string ErrorToString(Networking.Transport.Error.StatusCode error, ulong connectionId)
Parameters#
TypeNameDescription
Networking.Transport.Error.StatusCodeerrorStatus code of the error
System.UInt64connectionIdSubject connection ID of the error
Returns#
TypeDescription
System.StringHuman readable error message.