Quantillon Protocol

Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

VaultErrorLibrary

Git Source

Author: Quantillon Labs - Nicolas Bellengé - @chewbaccoin

Vault-specific errors for QuantillonVault and related operations

Main characteristics:

  • Errors specific to vault operations
  • Collateralization and emergency mode errors
  • Pool health and balance errors
  • Yield distribution errors

Note: security-contact: team@quantillon.money

Errors

TokenTransferFailed

error TokenTransferFailed();

InsufficientCollateralization

error InsufficientCollateralization();

EmergencyModeActive

error EmergencyModeActive();

PoolNotHealthy

error PoolNotHealthy();

PoolRatioInvalid

error PoolRatioInvalid();

PoolSizeZero

error PoolSizeZero();

PoolImbalance

error PoolImbalance();

YieldBelowThreshold

error YieldBelowThreshold();

YieldNotAvailable

error YieldNotAvailable();

YieldDistributionFailed

error YieldDistributionFailed();

YieldCalculationError

error YieldCalculationError();

YieldClaimFailed

error YieldClaimFailed();

CannotRecoverUSDC

error CannotRecoverUSDC();

CannotRecoverAToken

error CannotRecoverAToken();

CannotRecoverOwnToken

error CannotRecoverOwnToken();

CannotRecoverCriticalToken

error CannotRecoverCriticalToken(string tokenName);

InvalidOraclePrice

error InvalidOraclePrice();

AavePoolNotHealthy

error AavePoolNotHealthy();

WouldExceedLimit

error WouldExceedLimit();

InsufficientBalance

error InsufficientBalance();

WouldBreachMinimum

error WouldBreachMinimum();

InvalidAmount

error InvalidAmount();

InvalidAddress

error InvalidAddress();

BelowThreshold

error BelowThreshold();

FeeTooHigh

error FeeTooHigh();

InvalidThreshold

error InvalidThreshold();

NoETHToRecover

error NoETHToRecover();

ExcessiveSlippage

error ExcessiveSlippage();

ConfigValueTooHigh

error ConfigValueTooHigh();