- Updated the colors of the application;
- Added the ability for a user to partially update their profile
This commit is contained in:
10
src/constants/errors.ts
Normal file
10
src/constants/errors.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
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",
|
||||
};
|
||||
Reference in New Issue
Block a user