A game about forced loneliness, made by TACStudios
1using System.ComponentModel;
2using Unity.Plastic.Newtonsoft.Json;
3
4// Warning: keep in sync with src/client/clientcommon/webapi/responses/ErrorResponse.cs
5// This copy preserves the old namespace that is part of the public API of the package.
6namespace PlasticGui.WebApi.Responses
7{
8 // Internal usage. This isn't a public API.
9 [EditorBrowsable(EditorBrowsableState.Never)]
10 public class ErrorResponse
11 {
12 // Internal usage. This isn't a public API.
13 [EditorBrowsable(EditorBrowsableState.Never)]
14 [JsonProperty("error")]
15 public ErrorFields Error { get; set; }
16
17 // Internal usage. This isn't a public API.
18 [EditorBrowsable(EditorBrowsableState.Never)]
19 public class ErrorFields
20 {
21 // Internal usage. This isn't a public API.
22 [EditorBrowsable(EditorBrowsableState.Never)]
23 public string ErrorCode { get; set; }
24
25 // Internal usage. This isn't a public API.
26 [EditorBrowsable(EditorBrowsableState.Never)]
27 public string Message { get; set; }
28 }
29 }
30}