fix: return null when parameter is unbound

This commit is contained in:
Levy A. 2025-04-12 17:40:29 -03:00
parent df11562f69
commit 5c0b112125
3 changed files with 3 additions and 12 deletions

View file

@ -1,5 +1,3 @@
use std::num::NonZero;
use thiserror::Error;
#[derive(Debug, Error, miette::Diagnostic)]
@ -49,8 +47,6 @@ pub enum LimboError {
Constraint(String),
#[error("Extension error: {0}")]
ExtensionError(String),
#[error("Unbound parameter at index {0}")]
Unbound(NonZero<usize>),
#[error("Runtime error: integer overflow")]
IntegerOverflow,
#[error("Schema is locked for write")]