plotnik_lib/engine/error.rs
1//! Errors that can occur during query execution.
2
3#[derive(Debug, Clone, thiserror::Error)]
4pub enum RuntimeError {
5 /// Execution fuel exhausted (too many interpreter operations).
6 #[error("runtime execution limit exceeded")]
7 ExecFuelExhausted,
8
9 /// Recursion fuel exhausted (too many nested definition calls).
10 #[error("runtime recursion limit exceeded")]
11 RecursionLimitExceeded,
12}