Show error page when rate limited

This commit is contained in:
Zed
2021-01-07 22:31:29 +01:00
parent 2128b280b4
commit 4e1d213488
6 changed files with 25 additions and 5 deletions

View File

@@ -4,6 +4,8 @@ import prefs_impl
genPrefsType()
type
RateLimitError* = object of CatchableError
Token* = ref object
tok*: string
remaining*: int