docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ErrorStatus

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

    Inheritance
    object
    ErrorStatus
    Namespace: Unity.Services.Lobbies.Models
    Assembly: solution.dll
    Syntax
    public class ErrorStatus

    Constructors

    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
    public ErrorStatus(string type = null, int status = null, string title = null, string detail = null, int code = null, 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 programmatically identify the type of error.

    List<Detail> details

    A list of additional details about specific errors.

    Properties

    Code

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

    Declaration
    public int Code { get; }
    Property Value
    Type Description
    int

    Detail

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

    Declaration
    public string Detail { get; }
    Property Value
    Type Description
    string

    Details

    A list of additional details about specific errors.

    Declaration
    public List<Detail> Details { get; }
    Property Value
    Type Description
    List<Detail>

    Status

    The HTTP status code of the response.

    Declaration
    public int Status { get; }
    Property Value
    Type Description
    int

    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.

    Declaration
    public string Title { get; }
    Property Value
    Type Description
    string

    Type

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

    Declaration
    public string Type { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 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)