Adding an error type. (#220)

This commit is contained in:
Dessalines 2023-12-13 10:41:14 -05:00 committed by GitHub
parent b2edfeeaff
commit f36360cab2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 };