requireErrCode
function requireErrCode(bool _condition, uint256 _errorCodeD3) internal pure
Reverts if the specified condition is not true with the provided error code.
_WARNING: No checks of errorCodeD3 are performed for efficiency!
Parameters
SENDER_NOT_FACTORY
uint256 SENDER_NOT_FACTORY
SENDER_NOT_FACTORY_OWNER
uint256 SENDER_NOT_FACTORY_OWNER
SENDER_NOT_ADMIN
uint256 SENDER_NOT_ADMIN
SENDER_NOT_ARBITRAGE_PARTNER
uint256 SENDER_NOT_ARBITRAGE_PARTNER
NON_VAULT_CALLER
uint256 NON_VAULT_CALLER
SENDER_NOT_PARTNER
uint256 SENDER_NOT_PARTNER
SENDER_NOT_FEE_ADDRESS
uint256 SENDER_NOT_FEE_ADDRESS
SENDER_NOT_ORDER_OWNER_OR_DELEGATE
uint256 SENDER_NOT_ORDER_OWNER_OR_DELEGATE
CANNOT_TRANSFER_TO_SELF_OR_NULL
uint256 CANNOT_TRANSFER_TO_SELF_OR_NULL
RECIPIENT_NOT_OWNER
uint256 RECIPIENT_NOT_OWNER
CLEARED_ORDER
uint256 CLEARED_ORDER
POOL_PAUSED
UNSUPPORTED_SWAP_KIND
uint256 UNSUPPORTED_SWAP_KIND
INSUFFICIENT_LIQUIDITY
uint256 INSUFFICIENT_LIQUIDITY
INCORRECT_POOL_ID
uint256 INCORRECT_POOL_ID
ZERO_SALES_RATE
uint256 ZERO_SALES_RATE
NO_FUNDS_AVAILABLE
uint256 NO_FUNDS_AVAILABLE
MAX_ORDER_LENGTH_EXCEEDED
uint256 MAX_ORDER_LENGTH_EXCEEDED
NO_FEES_AVAILABLE
uint256 NO_FEES_AVAILABLE
UNSUPPORTED_TOKEN_DECIMALS
uint256 UNSUPPORTED_TOKEN_DECIMALS
NULL_RECIPIENT_ON_JOIN
uint256 NULL_RECIPIENT_ON_JOIN
CANT_CANCEL_COMPLETED_ORDER
uint256 CANT_CANCEL_COMPLETED_ORDER
MINIMUM_NOT_SATISFIED
uint256 MINIMUM_NOT_SATISFIED
VALUE_EXCEEDS_CONTAINER_SZ
uint256 VALUE_EXCEEDS_CONTAINER_SZ
OVERFLOW
UNDERFLOW
PARAM_ERROR
ZERO_TOKEN_ADDRESSES
uint256 ZERO_TOKEN_ADDRESSES
IDENTICAL_TOKEN_ADDRESSES
uint256 IDENTICAL_TOKEN_ADDRESSES
EXISTING_POOL
uint256 EXISTING_POOL
INVALID_FACTORY_OWNER
uint256 INVALID_FACTORY_OWNER
INVALID_PENDING_OWNER
uint256 INVALID_PENDING_OWNER
NON_EXISTING_POOL
uint256 NON_EXISTING_POOL
P_ETH_TRANSFER
uint256 P_ETH_TRANSFER
P_NULL_USER_ADDRESS
uint256 P_NULL_USER_ADDRESS
P_INSUFFICIENT_LIQUIDITY
uint256 P_INSUFFICIENT_LIQUIDITY
P_INSUFFICIENT_TOKEN_A_USER_BALANCE
uint256 P_INSUFFICIENT_TOKEN_A_USER_BALANCE
P_INSUFFICIENT_TOKEN_B_USER_BALANCE
uint256 P_INSUFFICIENT_TOKEN_B_USER_BALANCE
P_INVALID_POOL_TOKEN_AMOUNT
uint256 P_INVALID_POOL_TOKEN_AMOUNT
P_INSUFFICIENT_POOL_TOKEN_USER_BALANCE
uint256 P_INSUFFICIENT_POOL_TOKEN_USER_BALANCE
P_INVALID_INTERVAL_AMOUNT
uint256 P_INVALID_INTERVAL_AMOUNT
P_DELEGATE_WITHDRAW_RECIPIENT_NOT_OWNER
uint256 P_DELEGATE_WITHDRAW_RECIPIENT_NOT_OWNER
P_INVALID_OR_EXPIRED_ORDER_ID
uint256 P_INVALID_OR_EXPIRED_ORDER_ID
P_WITHDRAW_BY_ORDER_OR_DELEGATE_ONLY
uint256 P_WITHDRAW_BY_ORDER_OR_DELEGATE_ONLY
P_DELEGATE_CANCEL_RECIPIENT_NOT_OWNER
uint256 P_DELEGATE_CANCEL_RECIPIENT_NOT_OWNER
P_CANCEL_BY_ORDER_OR_DELEGATE_ONLY
uint256 P_CANCEL_BY_ORDER_OR_DELEGATE_ONLY
P_INVALID_TOKEN_IN_ADDRESS
uint256 P_INVALID_TOKEN_IN_ADDRESS
P_INVALID_TOKEN_OUT_ADDRESS
uint256 P_INVALID_TOKEN_OUT_ADDRESS
P_INVALID_POOL_TYPE
uint256 P_INVALID_POOL_TYPE
P_NON_EXISTING_POOL
uint256 P_NON_EXISTING_POOL
P_INVALID_POOL_ADDRESS
uint256 P_INVALID_POOL_ADDRESS
P_INVALID_AMOUNT_IN
uint256 P_INVALID_AMOUNT_IN
P_INSUFFICIENT_TOKEN_IN_USER_BALANCE
uint256 P_INSUFFICIENT_TOKEN_IN_USER_BALANCE
P_POOL_HAS_NO_LIQUIDITY
uint256 P_POOL_HAS_NO_LIQUIDITY
P_MAX_ORDER_LENGTH_EXCEEDED
uint256 P_MAX_ORDER_LENGTH_EXCEEDED
P_NOT_IMPLEMENTED
uint256 P_NOT_IMPLEMENTED
P_MULTICALL_NOT_SUPPORTED
uint256 P_MULTICALL_NOT_SUPPORTED