docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class InvocationErrorResponse

    An invocation error from the execution backend. Describes the error and provides a stack trace.

    Inheritance
    object
    InvocationErrorResponse
    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 InvocationErrorResponse

    Constructors

    InvocationErrorResponse(string, string, int, int, string, string, List<InvocationErrorResponseDetails>)

    Initializes a new instance of the InvocationErrorResponse class.

    Declaration
    [Preserve]
    public InvocationErrorResponse(string type = "problems/invocation", string title = null, int status = 0, int code = 0, string detail = "Invocation Error", string instance = null, List<InvocationErrorResponseDetails> details = null)
    Parameters
    Type Name Description
    string type

    type (required) (default to "problems/invocation").

    string title

    title (required).

    int status

    status (required).

    int code

    code (required).

    string detail

    detail (required) (default to "Invocation Error").

    string instance

    instance.

    List<InvocationErrorResponseDetails> details

    details (required).

    Properties

    Code

    Gets or Sets Code

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

    Detail

    Gets or Sets Detail

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

    Details

    Gets or Sets Details

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

    Instance

    Gets or Sets Instance

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

    Status

    Gets or Sets Status

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

    Title

    Gets or Sets Title

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

    Type

    Gets or Sets Type

    Declaration
    [Preserve]
    public string Type { get; set; }
    Property Value
    Type Description
    string
    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)