aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-26 20:21:02 +0800
committerFabio Berger <me@fabioberger.com>2018-03-26 20:21:02 +0800
commit0a8b7cb49402d440df41ea0119f8a75d6f6c7a50 (patch)
tree57118196a8beb93d01837e662177a71dad4227a4 /packages/website/ts
parent125ace351924ee124d45c79c400966a11db24042 (diff)
downloaddexon-sol-tools-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar.gz
dexon-sol-tools-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.tar.zst
dexon-sol-tools-0a8b7cb49402d440df41ea0119f8a75d6f6c7a50.zip
Improve rounding error message
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/utils/utils.ts3
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]: