docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor ErrorStatus

    ErrorStatus(string, int, string, string, int, List<Detail>)

    The body that will be returned for any failing request. We are using the RFC 7807 Error Format.

    Declaration
    [Preserve]
    public ErrorStatus(string type = null, int status = 0, string title = null, string detail = null, int code = 0, List<Detail> details = null)
    Parameters
    Type Name Description
    string type

    A URI that identifies the problem type and should provide documentation for the problem.

    int status

    The HTTP status code of the response.

    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.

    string detail

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

    int code

    An integer in the range 16000-16999 that uniquely identifies an error type. This can be used to programatically identify the type of error.

    List<Detail> details

    A list of additional details about specific errors.

    In This Article
    Back to top
    Copyright © 2023 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)