Errors

Git Source

Errors

InvalidCaller

Thrown when msg.sender is not the expected one.

error InvalidCaller(address caller, address expectedCaller);

CallerNotGovernor

Thrown when msg.sender is not the governor.

error CallerNotGovernor(address governor_, address caller_);

NotPoolAdminOrGovernor

Thrown when msg.sender is neither the pool admin nor the governor.

error NotPoolAdminOrGovernor(address caller_);

NotPoolAdmin

Thrown when msg.sender is not the pool admin.

error NotPoolAdmin(address caller_);

NotPoolConfigurator

Thrown when msg.sender is not the pool configurator.

InvalidAddressesProvider

FunctionPaused

ProtocolPaused

AddressesProviderZeroAddress

Thrown when pool addresses provider is set to 0.

GovernorZeroAddress

Thrown when the new governor is zero address.

ZeroAddress

Thrown when the address is zero address.

ReentrancyGuardReentrantCall

Thrown when a reentrancy lock is already set.

PoolConfigurator_InvalidPoolAdmin

Thrown when the pool admin set is not on the whitelist.

PoolConfigurator_InvalidPoolAsset

Thrown when the asset set is not on the whitelist.

PoolConfigurator_CallerNotLoanManager

Thrown when msg.sender is not the loan manager.

PoolConfigurator_CallerNotPoolAdminOrGovernor

Thrown when caller is not pool admin or governor.

PoolConfigurator_CallerNotPoolAdmin

Thrown when caller is not pool admin.

PoolConfigurator_CallerNotGovernor

Thrown when caller is not governor.

PoolConfigurator_PoolSupplyZero

Thrown when the total supply of the pool is zero.

PoolConfigurator_InsufficientCover

Thrown when the pool cover is insufficient.

PoolConfigurator_InsufficientLiquidity

Thrown when the pool has insufficient liquidity to fund new loans.

PoolConfigurator_NoAllowance

Thrown when the spender has no allowance from the owner.

PoolConfigurator_PoolApproveWithdrawalManagerFailed

Thrown when the pool fails to approve the withdrawal manager with the amount of shares.

PoolConfigurator_Paused

Thrown when the pool configurator is paused.

PoolAddressesProvider_InvalidGlobals

Thrown when IsleGlobals is set to 0.

Globals_InvalidVault

Thrown when vault is set to 0.

Globals_CallerNotPendingGovernor

Thrown when the caller is not penging governor

LoanManager_InvalidReceivable

Thrown when buyer approves an invalid receivable (either buyer or seller is not whitelisted or repayment timestamp is in the past).

LoanManager_PrincipalRequestedTooHigh

Thrown when the buyer requests for a principal larger than the face amount of the receivable.

LoanManager_Overdraw

Thrown when the seller overdraws.

LoanManager_NotLoan

Thrown when the loan id is invalid.

LoanManager_LoanImpaired

Thrown when the loan is already impaired.

LoanManager_LoanNotImpaired

Thrown when the loan is not impaired.

LoanManager_PastDueDate

Thrown when the loan is past due date.

LoanManager_ReceivableAssetNotAllowed

Thrown when the receivable asset is not allowed.

LoanManager_NotPastDueDatePlusGracePeriod

Thrown when current time is not past due date plus grace period.

LoanManager_CallerNotReceivableBuyer

Thrown when msg.sender is not the buyer.

LoanManager_AssetZeroAddress

Thrown when an asset address is set to 0 for a loan manager.

LoanManager_LoanNotFunded

Thrown when the seller withraw fund before the loan be funded.

WithdrawalManager_ZeroWindow

Thrown when the window duration set is 0.

WithdrawalManager_WindowGreaterThanCycle

Thrown when the window duration set is larger than the cycle duration.

WithdrawalManager_WithdrawalPending

Thrown when the withdrawal is still pending.

WithdrawalManager_NoOp

Thrown when the action results in no change.

WithdrawalManager_Overremove

Thrown when the owner removes more shares than they have.

WithdrawalManager_NoRequest

Thrown when the owner has no withdrawal request (that is locked shares is zero).

WithdrawalManager_InvalidShares

Thrown when the shares a owner requests to withdraw differs from their withdrawal request.

WithdrawalManager_NotInWindow

Thrown when the current time is not in the owner's withdrawal window.

Pool_ZeroAsset

Thrown when an asset address is 0.

Pool_ZeroConfigurator

Thrown when pool configurator address is set to 0.

Pool_FailedApprove

Thrown when the asset fails to approve the pool configurator with max amount.

Pool_RecipientZeroAddress

Thrown when the receiver address is 0.

Pool_DepositGreaterThanMax

Thrown when the deposit amount is greater than the max deposit.

Pool_MintGreaterThanMax

Thrown when the mint amount is greater than the max mint.

Pool_InsufficientPermit

Thrown when the assets is greater than the max amount to deposit.

Pool_RedeemMoreThanMax

Thrown when the redeem shares is greater than the max redeem amount.

Pool_WithdrawalNotImplemented

Thrown when anyone calls the previewWithdraw function.

Last updated