Class ApiError
The payroll API error
Inherited Members
Namespace: PayrollEngine.Client
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class ApiError
Constructors
ApiError()
Declaration
public ApiError()
Properties
Errors
The errors
Declaration
[JsonPropertyName("errors")]
public Dictionary<string, string[]> Errors { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string[]> |
Status
The http status code
Declaration
[JsonPropertyName("status")]
public int Status { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Title
The error title
Declaration
[JsonPropertyName("title")]
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TraceId
The error trace id
Declaration
[JsonPropertyName("traceId")]
public string TraceId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Type
The error type
Declaration
[JsonPropertyName("type")]
public string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| string |