Harden Sigil: sigil/errors.py

This commit is contained in:
bigpickle 2026-10-05 21:24:35 +08:00 committed by leora
parent 17792d96fb
commit df19aae02f

View File

@ -64,3 +64,7 @@ class CodeExpired(SigilError):
class CodeUsed(SigilError):
"""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."""