[accelerator] add new error message

This commit is contained in:
nymkappa 2024-06-27 18:49:37 +09:00 committed by Mononaut
parent c75afe20cd
commit 254d962558
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -29,6 +29,7 @@ const MempoolErrors = {
'faucet_address_not_allowed': `You cannot use this address`,
'faucet_below_minimum': `Requested amount is too small`,
'faucet_above_maximum': `Requested amount is too high`,
'payment_method_not_allowed': `You are not allowed to use this payment method`,
} as { [error: string]: string };
export function isMempoolError(error: string) {