BondtrollerErrorReporter
Overview
License: MIT
contract BondtrollerErrorReporterEnums info
Error
enum Error {
NO_ERROR,
UNAUTHORIZED,
BONDTROLLER_MISMATCH,
INSUFFICIENT_SHORTFALL,
INSUFFICIENT_LIQUIDITY,
INVALID_CLOSE_FACTOR,
INVALID_COLLATERAL_FACTOR,
INVALID_LIQUIDATION_INCENTIVE,
MARKET_NOT_ENTERED,
MARKET_NOT_LISTED,
MARKET_ALREADY_LISTED,
MATH_ERROR,
NONZERO_BORROW_BALANCE,
PRICE_ERROR,
REJECTION,
SNAPSHOT_ERROR,
TOO_MANY_ASSETS,
TOO_MUCH_REPAY
}FailureInfo
Events info
Failure
error corresponds to enum Error; info corresponds to enum FailureInfo, and detail is an arbitrary contract-specific code that enables us to report opaque error codes from upgradeable contracts.
Last updated