diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-08-21 07:50:24 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-08-21 07:50:24 +0800 |
commit | e45d320fc5830cb6336908cfe0c5f021718064c7 (patch) | |
tree | 3e5a0aeb42ed968e629b2342834f8748348f46c9 /packages/website/ts/utils/utils.ts | |
parent | cabce8cb674e937a566e8a821e3959076390f603 (diff) | |
parent | dd2e54d60d3490a62e57ef3f24a9af0127e2ec88 (diff) | |
download | dexon-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.ts | 7 |
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]: |