docs.unity3d.com
    Show / Hide Table of Contents

    Class ErrorUtilities

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

    Inheritance
    Object
    ErrorUtilities
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Netcode.Transports.UTP
    Syntax
    public static class ErrorUtilities

    Methods

    ErrorToString(Transport.Error.StatusCode, UInt64)

    Convert a UTP 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

    UTP error code.

    UInt64 connectionId

    ID of the connection on which the error occurred.

    Returns
    Type Description
    String

    Human-readable error message.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on 26 October 2023