Skip to content

ErrorReporter

This reference matches TokenErrorReporter in isolated-pools v4.4.0. It defines the legacy success code and custom errors inherited by that source generation’s VToken implementation.

Legacy success code retained for compatibility.

uint256 public constant NO_ERROR = 0
error TransferNotAllowed()
error MintFreshnessCheck()
error RedeemFreshnessCheck()
error RedeemTransferOutNotPossible()
error BorrowFreshnessCheck()
error BorrowCashNotAvailable()
error DelegateNotApproved()
error RepayBorrowFreshnessCheck()
error HealBorrowUnauthorized()
error ForceLiquidateBorrowUnauthorized()
error LiquidateFreshnessCheck()
error LiquidateCollateralFreshnessCheck()
error LiquidateAccrueCollateralInterestFailed(uint256 errorCode)
error LiquidateLiquidatorIsBorrower()
error LiquidateCloseAmountIsZero()
error LiquidateCloseAmountIsUintMax()
error LiquidateSeizeLiquidatorIsBorrower()
error ProtocolSeizeShareTooBig()
error SetReserveFactorFreshCheck()
error SetReserveFactorBoundsCheck()
error AddReservesFactorFreshCheck(uint256 actualAddAmount)
error ReduceReservesFreshCheck()
error ReduceReservesCashNotAvailable()
error ReduceReservesCashValidation()
error SetInterestRateModelFreshCheck()