diff options
author | Fabio Berger <me@fabioberger.com> | 2018-03-26 20:21:02 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-03-26 20:21:02 +0800 |
commit | 0a8b7cb49402d440df41ea0119f8a75d6f6c7a50 (patch) | |
tree | 57118196a8beb93d01837e662177a71dad4227a4 | |
parent | 125ace351924ee124d45c79c400966a11db24042 (diff) | |
download | dexon-0x-contracts-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar dexon-0x-contracts-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar.gz dexon-0x-contracts-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar.bz2 dexon-0x-contracts-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar.lz dexon-0x-contracts-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar.xz dexon-0x-contracts-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar.zst dexon-0x-contracts-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.zip |
Improve rounding error message
-rw-r--r-- | packages/website/ts/utils/utils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts index 25d7e449b..75597a7e2 100644 --- a/packages/website/ts/utils/utils.ts +++ b/packages/website/ts/utils/utils.ts @@ -219,7 +219,8 @@ export const utils = { [ExchangeContractErrs.OrderFillAmountZero]: "Order fill amount can't be 0", [ExchangeContractErrs.OrderRemainingFillAmountZero]: 'This order has already been completely filled or cancelled', - [ExchangeContractErrs.OrderFillRoundingError]: 'Rounding error will occur when filling this order', + [ExchangeContractErrs.OrderFillRoundingError]: + 'Rounding error will occur when filling this order. Please try filling a different amount.', [ExchangeContractErrs.InsufficientTakerBalance]: 'Taker no longer has a sufficient balance to complete this order', [ExchangeContractErrs.InsufficientTakerAllowance]: |