docs.unity3d.com
    Show / Hide Table of Contents

    Class ErrorUtilities

    Helper utility class to convert Unity.Networking.Transport error codes to human readable error messages.

    Inheritance
    Object
    ErrorUtilities
    Namespace: Unity.Netcode.Transports.UTP
    Syntax
    public static class ErrorUtilities

    Methods

    ErrorToString(StatusCode, UInt64)

    Convert error code to human readable error message.

    Declaration
    public static string ErrorToString(StatusCode error, ulong connectionId)
    Parameters
    Type Name Description
    StatusCode error

    Status code of the error

    UInt64 connectionId

    Subject connection ID of the error

    Returns
    Type Description
    String

    Human readable error message.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023