docs.unity3d.com
    Show / Hide Table of Contents

    Class ErrorResponseBody

    ErrorResponseBody model

    Inheritance
    Object
    ErrorResponseBody
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Services.Relay.Models
    Syntax
    [Preserve]
    public class ErrorResponseBody

    Constructors

    ErrorResponseBody(Int32, String, String, String, Int32, List<KeyValuePair>)

    Creates an instance of ErrorResponseBody.

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

    The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.

    String detail

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

    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).

    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 &quot;about:blank&quot;.

    Int32 code

    A service-specific error code.

    List<KeyValuePair> details

    An array of machine-readable service-specific errors.

    Properties

    Code

    A service-specific error code.

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

    Detail

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

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

    Details

    An array of machine-readable service-specific errors.

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

    Status

    The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.

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

    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).

    Declaration
    [Preserve]
    public string Title { get; }
    Property Value
    Type 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 &quot;about:blank&quot;.

    Declaration
    [Preserve]
    public string Type { get; }
    Property Value
    Type Description
    String
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023