huggi / src /lib /stores /errors.ts
Adrien Denat
Login flow (#193)
64d3841 unverified
raw
history blame
211 Bytes
import { writable } from "svelte/store";
export const ERROR_MESSAGES = {
default: "Oops, something went wrong.",
authOnly: "You have to be logged in.",
};
export const error = writable<string | null>(null);