Download src/lib/stores/errors.ts from WOosts/chat-ui: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/WOosts/chat-ui/resolve/main/src/lib/stores/errors.ts
- Command line
-
hf download hf://spaces/WOosts/chat-ui/src/lib/stores/errors.ts
-
curl -L -o errors.ts https://huggingface.co/spaces/WOosts/chat-ui/resolve/main/src/lib/stores/errors.ts
280 Bytes
| import { writable } from "svelte/store"; | |
| export const ERROR_MESSAGES = { | |
| default: "Oops, something went wrong.", | |
| authOnly: "You have to be logged in.", | |
| rateLimited: "You are sending too many messages. Try again later.", | |
| }; | |
| export const error = writable<string | null>(null); | |