Class InternalServerErrorResponse
InternalServerErrorResponse
Inherited Members
Namespace: Unity.Services.Apis.Admin.Scheduler
Assembly: Unity.Services.Apis.dll
Syntax
[DataContract(Name = "InternalServerErrorResponse")]
[Preserve]
public class InternalServerErrorResponse
Constructors
InternalServerErrorResponse(string, string, int, int, string, string)
Initializes a new instance of the Internal
Declaration
[Preserve]
public InternalServerErrorResponse(string type = null, string title = null, int status = 0, int code = 0, string detail = null, string instance = null)
Parameters
Type | Name | 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 (for example, using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be |
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 (for example, using proactive content negotiation; see [RFC7231], Section 3.4).. |
int | status | The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.. |
int | code | Service specific error code. |
string | detail | A human-readable explanation specific to this occurrence of the problem.. |
string | instance | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.. |
Properties
Code
Service specific error code
Declaration
[DataMember(Name = "code", EmitDefaultValue = false)]
[Preserve]
public int Code { get; set; }
Property Value
Type | Description |
---|---|
int | Service specific error code |
Detail
A human-readable explanation specific to this occurrence of the problem.
Declaration
[DataMember(Name = "detail", EmitDefaultValue = false)]
[Preserve]
public string Detail { get; set; }
Property Value
Type | Description |
---|---|
string | A human-readable explanation specific to this occurrence of the problem. |
Instance
A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced.
Declaration
[DataMember(Name = "instance", EmitDefaultValue = true)]
[Preserve]
public string Instance { get; set; }
Property Value
Type | Description |
---|---|
string | A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. |
Status
The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
Declaration
[DataMember(Name = "status", EmitDefaultValue = false)]
[Preserve]
public int Status { get; set; }
Property Value
Type | Description |
---|---|
int | The HTTP status code ([RFC7231], Section 6) generated by the origin server for this occurrence of the problem. |
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 (for example, using proactive content negotiation; see [RFC7231], Section 3.4).
Declaration
[DataMember(Name = "title", EmitDefaultValue = false)]
[Preserve]
public string Title { get; set; }
Property Value
Type | Description |
---|---|
string | 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 (for example, using proactive content negotiation; see [RFC7231], Section 3.4). |
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 (for example, using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be about:blank
.
Declaration
[DataMember(Name = "type", IsRequired = true, EmitDefaultValue = true)]
[Preserve]
public string Type { get; set; }
Property Value
Type | Description |
---|---|
string | A URI reference [RFC3986] that identifies the problem type. This specification encourages that, when dereferenced, it provide human-readable documentation for the problem type (for example, using HTML [W3C.REC-html5-20141028]). When this member is not present, its value is assumed to be |