14 lines
273 B
C#
14 lines
273 B
C#
using System.Text.Json.Serialization;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace Shadow.DTOs;
|
|
|
|
public class ErrorDTO
|
|
{
|
|
[JsonPropertyName("code")]
|
|
public int code { get; set; } = 0;
|
|
|
|
[JsonPropertyName("message")]
|
|
public string message { get; set; } = "Generic error";
|
|
}
|