Expand description
Structured errors produced by PoolProfiler while replaying
historical pool events.
Each variant carries enough context (pool, block, transaction/log position, event kind, and the simulated vs. observed values that disagreed) for downstream consumers to decide between hard-halt and skip-and-log on a per-pool basis.
Structs§
- Pool
Event Location - Identifies the source event for a
PoolProfilerError.
Enums§
- Liquidity
Math Error - Low-level liquidity arithmetic error surfaced by
try_liquidity_math_add. - Pool
Event Kind - The kind of pool event being processed when an error was produced.
- Pool
Profiler Error - Structured errors emitted by the pool profiler during event replay.
Functions§
- liquidity_
error_ with_ location - Maps a
LiquidityMathErrorto aPoolProfilerErrorusing event context.