From f36360cab27db6587c5cd9346f7dfae20ae0a9b2 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 13 Dec 2023 10:41:14 -0500 Subject: [PATCH] Adding an error type. (#220) --- src/types/LemmyErrorType.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/types/LemmyErrorType.ts b/src/types/LemmyErrorType.ts index 6ac5d74..857b894 100644 --- a/src/types/LemmyErrorType.ts +++ b/src/types/LemmyErrorType.ts @@ -145,10 +145,10 @@ export type LemmyErrorType = | { error: "couldnt_send_webmention" } | { error: "contradicting_filters" } | { error: "instance_block_already_exists" } - | { error: "auth_cookie_insecure" } | { error: "too_many_items" } | { error: "community_has_no_followers" } | { error: "ban_expiration_in_past" } | { error: "invalid_unix_time" } | { error: "invalid_bot_action" } + | { error: "cant_block_local_instance" } | { error: "unknown"; message: string };