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

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