Download src/lib/stores/errors.ts from mishig/chat-ui: direct link, hf CLI and curl.
- Browser
- Download file 290 Bytes
-
https://huggingface.co/spaces/mishig/chat-ui/resolve/700a2240da17049333f7f4adbec7357ea0d4f7da/src/lib/stores/errors.ts
- Command line
-
hf download hf://spaces/mishig/chat-ui@700a2240da17049333f7f4adbec7357ea0d4f7da/src/lib/stores/errors.ts
-
curl -L -o errors.ts https://huggingface.co/spaces/mishig/chat-ui/resolve/700a2240da17049333f7f4adbec7357ea0d4f7da/src/lib/stores/errors.ts
290 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 | undefined>(undefined); | |