if (account === undefined)
throw new Problem(
'Account does not exist',
- `Please create the account for "${email}" before attempting to verify the email link.`
+ `Please create the account for "${email}" before attempting to verify the email verification link.`
421
)
)
throw new Problem(
'Link code missing',
- `Link code for email "${email}" does not exist or has expired.`,
+ `Email verification link code for account "${email}" does not exist or has expired.`,
423
)
if (
)
throw new Problem(
'Link code mismatch',
- `Provided link code "${link_code}" does not match expected value.`,
+ `Provided email verification link code "${link_code}" does not match expected value.`,
423
)