using System.Text.Json;
namespace SessionCompanion.ViewModels.ApiResponses
{
public class ErrorResponse
{
///
/// Kod błędu
///
public int StatusCode { get; set; }
///
/// Wiadomość błędu do pokazania
///
public string Message { get; set; }
public override string ToString()
{
return JsonSerializer.Serialize(this);
}
}
}