aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/utils/utils.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-08-21 07:50:24 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-08-21 07:50:24 +0800
commite45d320fc5830cb6336908cfe0c5f021718064c7 (patch)
tree3e5a0aeb42ed968e629b2342834f8748348f46c9 /packages/website/ts/utils/utils.ts
parentcabce8cb674e937a566e8a821e3959076390f603 (diff)
parentdd2e54d60d3490a62e57ef3f24a9af0127e2ec88 (diff)
downloaddexon-sol-tools-e45d320fc5830cb6336908cfe0c5f021718064c7.tar
dexon-sol-tools-e45d320fc5830cb6336908cfe0c5f021718064c7.tar.gz
dexon-sol-tools-e45d320fc5830cb6336908cfe0c5f021718064c7.tar.bz2
dexon-sol-tools-e45d320fc5830cb6336908cfe0c5f021718064c7.tar.lz
dexon-sol-tools-e45d320fc5830cb6336908cfe0c5f021718064c7.tar.xz
dexon-sol-tools-e45d320fc5830cb6336908cfe0c5f021718064c7.tar.zst
dexon-sol-tools-e45d320fc5830cb6336908cfe0c5f021718064c7.zip
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/connect/sra-api-v2
Diffstat (limited to 'packages/website/ts/utils/utils.ts')
-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]: