From 9d90e21684eeaab3ac9f89a1d8013168a1d577d7 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Thu, 30 Apr 2026 00:37:15 +1000 Subject: v0.13a --- Attributes.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Attributes.cs (limited to 'Attributes.cs') diff --git a/Attributes.cs b/Attributes.cs new file mode 100644 index 0000000..87ec2d6 --- /dev/null +++ b/Attributes.cs @@ -0,0 +1,9 @@ +namespace HyperBooru.ApiModels; + +[AttributeUsage(AttributeTargets.Class)] +public class ExceptionStatusCodeAttribute : Attribute { + public int StatusCode { get; set; } + + public ExceptionStatusCodeAttribute(int statusCode) => + StatusCode = statusCode; +} -- cgit v1.3