docs.unity3d.com
    Show / Hide Table of Contents

    Enum WireErrorCode

    WireErrorCode lists the error codes to expect from RequestFailedException. The error code range is: 23000 to 23999.

    Namespace: Unity.Services.Wire.Internal
    Syntax
    public enum WireErrorCode : int

    Fields

    Name Description Value
    AlreadySubscribed

    Thrown when trying to subscribe to an IChannel that is already in a subscribed state.

    AlreadyUnsubscribed

    Thrown when trying to unsubscribe from an IChannel that is already in an unsubscribed state.

    CommandFailed

    The command failed for unknown reason.

    ConnectionFailed

    The connection to the Wire service failed.

    InvalidChannelName

    The channel name provided by the IChannelTokenProvider is not valid.

    InvalidToken

    The token provided by the IChannelTokenProvider is invalid.

    TokenRetrieverFailed

    The GetTokenAsync() method of IChannelTokenProvider threw an exception. It is provided as inner exception.

    Unauthorized

    The Wire service refused the subscription.

    Unknown

    Unknown error

    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