Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
Duplicated from
huggingchat/chat-ui
nirdrang
/
chat-ui
like
0
Build error
App
Files
Files
Community
e518a94
chat-ui
/
src
/
lib
/
stores
/
errors.ts
victor
HF staff
Toast errors (#91)
fe2328e
unverified
over 1 year ago
raw
Copy download link
history
blame
Safe
171 Bytes
import
{ writable }
from
"svelte/store"
;
export
const
ERROR_MESSAGES
= {
default
:
"Oops, something went wrong."
,
};
export
const
error = writable<
string
|
null
>(
null
);