using System.Text.Json.Serialization; namespace Uwaa.Pleroma; public class PleromaException : Exception { [JsonPropertyName("error")] public string Text { get; set; } = null!; public override string Message => Text; public override string ToString() => Text; }