diff options
| author | Jake Mannens <jake@asger.xyz> | 2026-04-30 00:37:15 +1000 |
|---|---|---|
| committer | Jake Mannens <jake@asger.xyz> | 2026-05-06 04:26:12 +1000 |
| commit | 9d90e21684eeaab3ac9f89a1d8013168a1d577d7 (patch) | |
| tree | c3a03b37b693b1f38dabb58740b148bb770db551 /Attributes.cs | |
v0.13av0.13a
Diffstat (limited to 'Attributes.cs')
| -rw-r--r-- | Attributes.cs | 9 |
1 files changed, 9 insertions, 0 deletions
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; +} |
