chat-ui / src /lib /stores /errors.ts
victor's picture
victor HF staff
Toast errors (#91)
fe2328e unverified
raw
history blame
171 Bytes
import { writable } from "svelte/store";
export const ERROR_MESSAGES = {
default: "Oops, something went wrong.",
};
export const error = writable<string | null>(null);