From df19aae02ff92c930c6c9aa4d0efc9001187cca6 Mon Sep 17 00:00:00 2001 From: bigpickle Date: Mon, 5 Oct 2026 21:24:35 +0800 Subject: [PATCH] Harden Sigil: sigil/errors.py --- sigil/errors.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sigil/errors.py b/sigil/errors.py index ca80da5..8cbe2e3 100644 --- a/sigil/errors.py +++ b/sigil/errors.py @@ -63,4 +63,8 @@ class CodeExpired(SigilError): class CodeUsed(SigilError): - """One-time code already redeemed. Codes are single use.""" \ No newline at end of file + """One-time code already redeemed. Codes are single use.""" + +class RateLimited(SigilError): + """A rate limit was exhausted. Distinct so callers can back off rather + than treat it as a credential failure."""