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.
Solidity API
Section titled “Solidity API”NO_ERROR
Section titled “NO_ERROR”Legacy success code retained for compatibility.
uint256 public constant NO_ERROR = 0TransferNotAllowed
Section titled “TransferNotAllowed”error TransferNotAllowed()MintFreshnessCheck
Section titled “MintFreshnessCheck”error MintFreshnessCheck()RedeemFreshnessCheck
Section titled “RedeemFreshnessCheck”error RedeemFreshnessCheck()RedeemTransferOutNotPossible
Section titled “RedeemTransferOutNotPossible”error RedeemTransferOutNotPossible()BorrowFreshnessCheck
Section titled “BorrowFreshnessCheck”error BorrowFreshnessCheck()BorrowCashNotAvailable
Section titled “BorrowCashNotAvailable”error BorrowCashNotAvailable()DelegateNotApproved
Section titled “DelegateNotApproved”error DelegateNotApproved()RepayBorrowFreshnessCheck
Section titled “RepayBorrowFreshnessCheck”error RepayBorrowFreshnessCheck()HealBorrowUnauthorized
Section titled “HealBorrowUnauthorized”error HealBorrowUnauthorized()ForceLiquidateBorrowUnauthorized
Section titled “ForceLiquidateBorrowUnauthorized”error ForceLiquidateBorrowUnauthorized()LiquidateFreshnessCheck
Section titled “LiquidateFreshnessCheck”error LiquidateFreshnessCheck()LiquidateCollateralFreshnessCheck
Section titled “LiquidateCollateralFreshnessCheck”error LiquidateCollateralFreshnessCheck()LiquidateAccrueCollateralInterestFailed
Section titled “LiquidateAccrueCollateralInterestFailed”error LiquidateAccrueCollateralInterestFailed(uint256 errorCode)LiquidateLiquidatorIsBorrower
Section titled “LiquidateLiquidatorIsBorrower”error LiquidateLiquidatorIsBorrower()LiquidateCloseAmountIsZero
Section titled “LiquidateCloseAmountIsZero”error LiquidateCloseAmountIsZero()LiquidateCloseAmountIsUintMax
Section titled “LiquidateCloseAmountIsUintMax”error LiquidateCloseAmountIsUintMax()LiquidateSeizeLiquidatorIsBorrower
Section titled “LiquidateSeizeLiquidatorIsBorrower”error LiquidateSeizeLiquidatorIsBorrower()ProtocolSeizeShareTooBig
Section titled “ProtocolSeizeShareTooBig”error ProtocolSeizeShareTooBig()SetReserveFactorFreshCheck
Section titled “SetReserveFactorFreshCheck”error SetReserveFactorFreshCheck()SetReserveFactorBoundsCheck
Section titled “SetReserveFactorBoundsCheck”error SetReserveFactorBoundsCheck()AddReservesFactorFreshCheck
Section titled “AddReservesFactorFreshCheck”error AddReservesFactorFreshCheck(uint256 actualAddAmount)ReduceReservesFreshCheck
Section titled “ReduceReservesFreshCheck”error ReduceReservesFreshCheck()ReduceReservesCashNotAvailable
Section titled “ReduceReservesCashNotAvailable”error ReduceReservesCashNotAvailable()ReduceReservesCashValidation
Section titled “ReduceReservesCashValidation”error ReduceReservesCashValidation()SetInterestRateModelFreshCheck
Section titled “SetInterestRateModelFreshCheck”error SetInterestRateModelFreshCheck()