Skip to content

Commit f2598a6

Browse files
authored
Merge pull request #2697 from gabrielbazan7/feat/eth-fee-err
[FEAT] adding eth fee error to spec
2 parents ab5fb13 + 10cdc9b commit f2598a6

File tree

1 file changed

+8
-0
lines changed
  • packages/bitcore-wallet-client/src/lib/errors

1 file changed

+8
-0
lines changed

packages/bitcore-wallet-client/src/lib/errors/spec.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,18 @@ var errorSpec = [
6767
name: 'INSUFFICIENT_FUNDS_FOR_FEE',
6868
message: 'Insufficient funds for fee.'
6969
},
70+
{
71+
name: 'INSUFFICIENT_ETH_FEE',
72+
message: 'Your linked ETH wallet does not have enough ETH for fee.'
73+
},
7074
{
7175
name: 'LOCKED_FUNDS',
7276
message: 'Locked funds.'
7377
},
78+
{
79+
name: 'LOCKED_ETH_FEE',
80+
message: 'Your ETH linked wallet funds are locked by pending spend proposals.'
81+
},
7482
{
7583
name: 'DUST_AMOUNT',
7684
message: 'Amount below dust threshold.'

0 commit comments

Comments
 (0)