File size: 280 Bytes
fe2328e
 
 
 
64d3841
922b1b2
fe2328e
 
 
1
2
3
4
5
6
7
8
9
10
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 | null>(null);