diff --git a/packages/common/src/utils/errors.ts b/packages/common/src/utils/errors.ts index 0f78b16c7..ad0b7e281 100644 --- a/packages/common/src/utils/errors.ts +++ b/packages/common/src/utils/errors.ts @@ -52,6 +52,8 @@ export function translateContractError(message: string) { return 'Sale is not started yet.'; } else if (message.includes('NOT_ALLOWLISTED')) { return 'This wallet address is not allowlisted.'; + } else if (message.includes('EXCEEDS_MAX')) { + return 'Max allocation reached, this wallet cannot mint anymore.'; } return message;