Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
huggingchat
/
chat-ui
like
1.08k
Running
App
Files
Files
Community
605
69c7035
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
);