docs.unity3d.com
    Show / Hide Table of Contents

    Class ServiceError

    Represents an error returned by a service.

    Inheritance
    Object
    ServiceError
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Common
    Syntax
    [Serializable]
    public class ServiceError

    Properties

    ErrorCode

    The error code.

    Declaration
    public ServiceError.Code ErrorCode { get; set; }
    Property Value
    Type Description
    ServiceError.Code

    HttpStatusCode

    The HTTP status code.

    Declaration
    public HttpStatusCode? HttpStatusCode { get; set; }
    Property Value
    Type Description
    Nullable<HttpStatusCode>

    IsAuthError

    Returns true if it's an authentication error.

    Declaration
    public bool IsAuthError { get; }
    Property Value
    Type Description
    Boolean

    IsLicensingError

    Returns true if it's a licensing error.

    Declaration
    public bool IsLicensingError { get; }
    Property Value
    Type Description
    Boolean

    Message

    The error message.

    Declaration
    public string Message { get; set; }
    Property Value
    Type Description
    String
    Back to top
    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