Remove moved RevertErrors

This commit is contained in:
Jacob Evans
2019-11-22 13:14:25 +11:00
parent 9c42241269
commit ad8caa2b51
55 changed files with 67 additions and 1086 deletions

View File

@@ -3,7 +3,8 @@
"version": "4.6.0-beta.3",
"changes": [
{
"note": "Re-export all `RevertErrors`"
"note": "Re-export all `RevertErrors`",
"pr": 2362
}
]
},

View File

@@ -26,84 +26,15 @@ export {
AnyRevertError,
} from './revert_error';
export {
AssetProxyDispatchError,
AssetProxyDispatchErrorCode,
AssetProxyExistsError,
AssetProxyTransferError,
BatchMatchOrdersError,
BatchMatchOrdersErrorCodes,
EIP1271SignatureError,
ExchangeContextErrorCodes,
ExchangeInvalidContextError,
FillError,
FillErrorCode,
IncompleteFillError,
IncompleteFillErrorCode,
NegativeSpreadError,
OrderEpochError,
OrderStatusError,
PayProtocolFeeError,
SignatureError,
SignatureErrorCode,
SignatureValidatorNotApprovedError,
SignatureWalletError,
TransactionError,
TransactionErrorCode,
TransactionExecutionError,
TransactionGasPriceError,
TransactionInvalidContextError,
} from './revert_errors/exchange/revert_errors';
export {
CompleteBuyFailedError,
DefaultFunctionWethContractOnlyError,
Erc721AmountMustEqualOneError,
FeePercentageTooLargeError,
InsufficientEthForFeeError,
MsgValueCannotEqualZeroError,
OverspentWethError,
UnregisteredAssetProxyError,
UnsupportedAssetProxyError,
UnsupportedFeeError,
} from './revert_errors/exchange-forwarder/revert_errors';
export { DivisionByZeroError, RoundingError } from './revert_errors/exchange-libs/lib_math_revert_errors';
export {
BinOpError,
BinOpErrorCodes as StakingBinOpErrorCodes,
SignedValueError,
UnsignedValueError,
ValueErrorCodes,
} from './revert_errors/staking/fixed_math_revert_errors';
export {
AuthorizedAddressMismatchError,
IndexOutOfBoundsError,
SenderNotAuthorizedError,
TargetAlreadyAuthorizedError,
TargetNotAuthorizedError,
ZeroCantBeAuthorizedError,
} from './revert_errors/utils/authorizable_revert_errors';
export { MismanagedMemoryError } from './revert_errors/utils/lib_address_array_revert_errors';
export {
InvalidByteOperationError,
InvalidByteOperationErrorCodes,
} from './revert_errors/utils/lib_bytes_revert_errors';
export { OnlyOwnerError, TransferOwnerToZeroError } from './revert_errors/utils/ownable_revert_errors';
export { IllegalReentrancyError } from './revert_errors/utils/reentrancy_guard_revert_errors';
export {
BinOpErrorCodes,
DowncastErrorCodes,
Uint256BinOpError,
Uint256DowncastError,
Uint64BinOpError,
Uint96BinOpError,
} from './revert_errors/utils/safe_math_revert_errors';
export {
ApprovalExpiredError,
InvalidApprovalSignatureError,
InvalidOriginError,
SignatureError as CoordinatorSignatureError,
SignatureErrorCodes,
} from './revert_errors/coordinator/revert_errors';
export import CoordinatorRevertErrors = require('./revert_errors/coordinator/revert_errors');
export import ExchangeForwarderRevertErrors = require('./revert_errors/exchange-forwarder/revert_errors');
export import LibMathRevertErrors = require('./revert_errors/exchange-libs/lib_math_revert_errors');
export import ExchangeRevertErrors = require('./revert_errors/exchange/revert_errors');
export import FixedMathRevertErrors = require('./revert_errors/staking/fixed_math_revert_errors');
export import StakingRevertErrors = require('./revert_errors/staking/staking_revert_errors');
export import AuthorizableRevertErrors = require('./revert_errors/utils/authorizable_revert_errors');
export import LibAddressArrayRevertErrors = require('./revert_errors/utils/lib_address_array_revert_errors');
export import LibBytesRevertErrors = require('./revert_errors/utils/lib_bytes_revert_errors');
export import OwnableRevertErrors = require('./revert_errors/utils/ownable_revert_errors');
export import ReentrancyGuardRevertErrors = require('./revert_errors/utils/reentrancy_guard_revert_errors');
export import SafeMathRevertErrors = require('./revert_errors/utils/safe_math_revert_errors');