docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class WrapperCompilationErrorResponse

    A compilation error from the execution backend. Can be caused by a missing CommonJS export of the script function.

    Inheritance
    object
    WrapperCompilationErrorResponse
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Services.Apis.Admin.CloudCode
    Assembly: Unity.Services.Apis.dll
    Syntax
    [DataContract(Name = "WrapperCompilationErrorResponse")]
    [Preserve]
    public class WrapperCompilationErrorResponse

    Constructors

    WrapperCompilationErrorResponse(string, string, int, int, string, List<WrapperCompilationErrorResponseDetailsInner>)

    Initializes a new instance of the WrapperCompilationErrorResponse class.

    Declaration
    [Preserve]
    public WrapperCompilationErrorResponse(string type = "problems/compilation", string title = null, int status = 0, int code = 0, string detail = "Compilation Error", List<WrapperCompilationErrorResponseDetailsInner> details = null)
    Parameters
    Type Name Description
    string type

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

    string title

    title (required).

    int status

    status (required).

    int code

    code (required).

    string detail

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

    List<WrapperCompilationErrorResponseDetailsInner> details

    details (required).

    Properties

    Code

    Gets or Sets Code

    Declaration
    [DataMember(Name = "code", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int Code { get; set; }
    Property Value
    Type Description
    int

    Detail

    Gets or Sets Detail

    Declaration
    [DataMember(Name = "detail", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string Detail { get; set; }
    Property Value
    Type Description
    string

    Details

    Gets or Sets Details

    Declaration
    [DataMember(Name = "details", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public List<WrapperCompilationErrorResponseDetailsInner> Details { get; set; }
    Property Value
    Type Description
    List<WrapperCompilationErrorResponseDetailsInner>

    Status

    Gets or Sets Status

    Declaration
    [DataMember(Name = "status", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public int Status { get; set; }
    Property Value
    Type Description
    int

    Title

    Gets or Sets Title

    Declaration
    [DataMember(Name = "title", IsRequired = true, EmitDefaultValue = true)]
    [Preserve]
    public string Title { get; set; }
    Property Value
    Type Description
    string

    Type

    Gets or Sets Type

    Declaration
    [DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
    [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)