export type Error = "E001" | "E002" | "E003";
export interface ErrorMessage {
	error: Error;
	message: string;
}

export const errorMessages: {[key in Error]: string} = {
	E001: "Wrong password!",
	E002: "Invalid e-mail",
	E003: "E-mail already in use!",
};
