Custom Errors (Errors.sol)
The protocol uses a centralizedErrors library for custom error definitions across all contracts.
Voter Errors
Gauge V3 Errors
Gauge Errors
Fee Distributor Errors
Pair Errors
Pair Factory Errors
Fee Recipient Factory Errors
Router Errors
Minter Errors
Access Hub Errors
Vote Module Errors
x33 Errors
xRAM Errors
V3 Factory Errors
CL Pool String Errors
Short string error codes used in the concentrated liquidity pool contracts.Oracle.sol
OLD: The target must be chronologically after the oldest observationI: The pool has not been initialized
Position.sol
NP: Burn cannot be called for a position with 0 liquidity
Tick.sol
LO: LiquidityGrossAfter must be less than MaxLiquidity
TickMath.sol
T: The given tick must be less than, or equal to, the maximum tickR: Second inequality must be < because the price can never reach the price at the max tick
TransferHelper.sol
TF: Transfer failed
RamsesV3Pool.sol
LOK: Reentrancy guard — a transaction cannot re-enter the pool mid-swapTLU: The lower tick must be below the upper tickTLM: The lower tick must be greater than, or equal to, the minimum tickTUM: The upper tick must be less than, or equal to, the maximum tickAI: The pool is already initializedM0: The balance of token0 before minting must be less than or equal to the balance after mintingM1: The balance of token1 before minting must be less than or equal to the balance after mintingAS:amountSpecifiedcannot be zeroSPL: Square root price limit violatedIIA: Insufficient input amount — not enough tokens sent during the callbackL: Liquidity must be greater than zero for a flash to be executedF0: The balance of token0 before flash must be less than or equal to the balance after flash plus the feeF1: The balance of token1 before flash must be less than or equal to the balance after flash plus the fee
