add additional error message

This commit is contained in:
nymkappa 2024-04-09 14:33:18 +09:00
parent 894c4cb139
commit aac32c5bff
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

View File

@ -21,6 +21,7 @@ const MempoolErrors = {
'txid_not_in_mempool': `This transaction is not in the mempool.`,
'waitlisted': `You are currently on the wait list. You will get notified once you are granted access.`,
'not_whitelisted_by_any_pool': `You are not whitelisted by any mining pool`,
'unauthorized': `You are not authorized to do this`,
} as { [error: string]: string };
export function isMempoolError(error: string) {