Skip to content

Commit

Permalink
chore: add contract error message
Browse files Browse the repository at this point in the history
  • Loading branch information
0xExp-po committed Dec 17, 2024
1 parent e4ce5c3 commit abbd847
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dapp/src/constants/contractErrorMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export const contractErrorMessages = {
8: "Proposal or page could not be found.",
9: "You have already voted.",
10: "The proposal voting time has expired.",
11: "The proposal has already been executed.",
};

export type ContractErrorMessageKey = keyof typeof contractErrorMessages;

0 comments on commit abbd847

Please sign in to comment.