File size: 280 Bytes
faca43f
 
 
 
 
 
 
 
 
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);