docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class BasicErrorResponse

    Referenced from - https://tools.ietf.org/html/rfc7807#page-3

    Inheritance
    object
    BasicErrorResponse
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Services.Apis.CloudCode
    Assembly: solution.dll
    Syntax
    [Preserve]
    public class BasicErrorResponse

    Constructors

    BasicErrorResponse(string, string, int, ApiObject, int, string, string, List<object>)

    Initializes a new instance of the BasicErrorResponse class.

    Declaration
    [Preserve]
    public BasicErrorResponse(string type = null, string title = null, int status = 0, ApiObject requestId = null, int code = 0, string detail = null, string instance = null, List<object> details = null)
    Parameters
    Type Name Description
    string type

    A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". [RFC3986]: https://www.rfc-editor.org/rfc/rfc3986 [W3C.REC-html5-20141028]: https://www.rfc-editor.org/rfc/rfc7807#ref-W3C.REC-html5-20141028 .

    string title

    A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231, Section 3.4]). [RFC7231, Section 3.4]: https://www.rfc-editor.org/rfc/rfc7231#section-3.4 .

    int status

    The HTTP status code ([RFC7231, Section 6]) generated by the origin server for this occurrence of the problem. [RFC7231, Section 6]: https://www.rfc-editor.org/rfc/rfc7231#section-6 .

    ApiObject requestId

    An identifier Unity uses internally to investigate what happened to a particular request that went through the Unity Services or Game API Gateway. .

    int code

    Service specific error code.

    string detail

    A human-readable explanation specific to this occurrence of the problem..

    string instance

    A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced..

    List<object> details

    Machine readable service specific errors..

    Properties

    Code

    Service specific error code

    Declaration
    [Preserve]
    public int Code { get; set; }
    Property Value
    Type Description
    int

    Service specific error code

    Detail

    A human-readable explanation specific to this occurrence of the problem.

    Declaration
    [Preserve]
    public string Detail { get; set; }
    Property Value
    Type Description
    string

    A human-readable explanation specific to this occurrence of the problem.

    Details

    Machine readable service specific errors.

    Declaration
    [Preserve]
    public List<object> Details { get; set; }
    Property Value
    Type Description
    List<object>

    Machine readable service specific errors.

    Instance

    A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.

    Declaration
    [Preserve]
    public string Instance { get; set; }
    Property Value
    Type Description
    string

    A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.

    RequestId

    An identifier Unity uses internally to investigate what happened to a particular request that went through the Unity Services or Game API Gateway.

    Declaration
    [Preserve]
    public ApiObject RequestId { get; set; }
    Property Value
    Type Description
    ApiObject

    An identifier Unity uses internally to investigate what happened to a particular request that went through the Unity Services or Game API Gateway.

    Status

    The HTTP status code ([RFC7231, Section 6]) generated by the origin server for this occurrence of the problem. [RFC7231, Section 6]: https://www.rfc-editor.org/rfc/rfc7231#section-6

    Declaration
    [Preserve]
    public int Status { get; set; }
    Property Value
    Type Description
    int

    The HTTP status code ([RFC7231, Section 6]) generated by the origin server for this occurrence of the problem. [RFC7231, Section 6]: https://www.rfc-editor.org/rfc/rfc7231#section-6

    Title

    A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231, Section 3.4]). [RFC7231, Section 3.4]: https://www.rfc-editor.org/rfc/rfc7231#section-3.4

    Declaration
    [Preserve]
    public string Title { get; set; }
    Property Value
    Type Description
    string

    A short, human-readable summary of the problem type. It SHOULD NOT change from occurrence to occurrence of the problem, except for purposes of localization (e.g., using proactive content negotiation; see [RFC7231, Section 3.4]). [RFC7231, Section 3.4]: https://www.rfc-editor.org/rfc/rfc7231#section-3.4

    Type

    A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". [RFC3986]: https://www.rfc-editor.org/rfc/rfc3986 [W3C.REC-html5-20141028]: https://www.rfc-editor.org/rfc/rfc7807#ref-W3C.REC-html5-20141028

    Declaration
    [Preserve]
    public string Type { get; set; }
    Property Value
    Type Description
    string

    A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (e.g., using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be "about:blank". [RFC3986]: https://www.rfc-editor.org/rfc/rfc3986 [W3C.REC-html5-20141028]: https://www.rfc-editor.org/rfc/rfc7807#ref-W3C.REC-html5-20141028

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)