[accelerator] add new error message payment_method_not_allowed_out_of_bound

This commit is contained in:
nymkappa 2024-07-01 18:30:40 +09:00
parent 9ef79a268d
commit 69b40cf073
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

View File

@ -30,6 +30,7 @@ const MempoolErrors = {
'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`,
'payment_method_not_allowed_out_of_bound': `You are not allowed to use this payment method with this amount`,
} as { [error: string]: string };
export function isMempoolError(error: string) {