aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-08-21 03:18:35 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-08-21 03:18:35 +0800
commit67b4ba2a57a865c16a474259b98a8410afdf730a (patch)
treecf2b8a13fa89d337c2627b80918fcddd8d956f66 /packages
parent756787c61fff9c6b463fbbd69b48210dafe62004 (diff)
downloaddexon-sol-tools-67b4ba2a57a865c16a474259b98a8410afdf730a.tar
dexon-sol-tools-67b4ba2a57a865c16a474259b98a8410afdf730a.tar.gz
dexon-sol-tools-67b4ba2a57a865c16a474259b98a8410afdf730a.tar.bz2
dexon-sol-tools-67b4ba2a57a865c16a474259b98a8410afdf730a.tar.lz
dexon-sol-tools-67b4ba2a57a865c16a474259b98a8410afdf730a.tar.xz
dexon-sol-tools-67b4ba2a57a865c16a474259b98a8410afdf730a.tar.zst
dexon-sol-tools-67b4ba2a57a865c16a474259b98a8410afdf730a.zip
Revert error renames
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/utils/utils.ts7
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/website/ts/utils/utils.ts b/packages/website/ts/utils/utils.ts
index 32b07473c..39bbd404c 100644
--- a/packages/website/ts/utils/utils.ts
+++ b/packages/website/ts/utils/utils.ts
@@ -247,9 +247,12 @@ export const utils = {
} = {
[ExchangeContractErrs.OrderFillExpired]: 'This order has expired',
[ExchangeContractErrs.OrderCancelExpired]: 'This order has expired',
- [ExchangeContractErrs.OrderCancelled]: 'This order has been cancelled',
+ [ExchangeContractErrs.OrderCancelAmountZero]: "Order cancel amount can't be 0",
+ [ExchangeContractErrs.OrderAlreadyCancelledOrFilled]:
+ 'This order has already been completely filled or cancelled',
[ExchangeContractErrs.OrderFillAmountZero]: "Order fill amount can't be 0",
- [ExchangeContractErrs.OrderRemainingFillAmountZero]: 'This order has already been completely filled',
+ [ExchangeContractErrs.OrderRemainingFillAmountZero]:
+ 'This order has already been completely filled or cancelled',
[ExchangeContractErrs.OrderFillRoundingError]:
'Rounding error will occur when filling this order. Please try filling a different amount.',
[ExchangeContractErrs.InsufficientTakerBalance]: