docs.unity.cn
    Show / Hide Table of Contents

    Class CommonErrorCodes

    Common error codes.

    Inheritance
    Object
    CommonErrorCodes
    Namespace: Unity.Services.Core
    Syntax
    public static class CommonErrorCodes : object

    Fields

    ApiMissing

    The API does not exist.

    Declaration
    public const int ApiMissing = null
    Field Value
    Type Description
    Int32

    Forbidden

    User does not have permission to perform the requested operation.

    Declaration
    public const int Forbidden = null
    Field Value
    Type Description
    Int32

    InvalidRequest

    The request was understood but the API refused to process it because something about it was invalid.

    Declaration
    public const int InvalidRequest = null
    Field Value
    Type Description
    Int32

    InvalidToken

    The authentication token is malformed or invalid.

    Declaration
    public const int InvalidToken = null
    Field Value
    Type Description
    Int32

    NotFound

    The requested resource was not found.

    Declaration
    public const int NotFound = null
    Field Value
    Type Description
    Int32

    RequestRejected

    The request was rejected. Typically returned when the request was rejected before any reaching the API. See title/details for more information.

    Declaration
    public const int RequestRejected = null
    Field Value
    Type Description
    Int32

    ServiceUnavailable

    Service is unavailable. Typically returned when the service is overloaded.

    Declaration
    public const int ServiceUnavailable = null
    Field Value
    Type Description
    Int32

    Timeout

    The request timed out because no response was received in the alotted time.

    Declaration
    public const int Timeout = null
    Field Value
    Type Description
    Int32

    TokenExpired

    The authentication token is expired.

    Declaration
    public const int TokenExpired = null
    Field Value
    Type Description
    Int32

    TooManyRequests

    Request was rate limited. The client is making requests too frequently.

    Declaration
    public const int TooManyRequests = null
    Field Value
    Type Description
    Int32

    TransportError

    DNS, TLS, and other transport errors that result in no valid HTTP response.

    Declaration
    public const int TransportError = null
    Field Value
    Type Description
    Int32

    Unknown

    Unable to determine what the error is.

    Declaration
    public const int Unknown = null
    Field Value
    Type Description
    Int32
    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, April 26, 2022
    Terms of use