Support _PREFIXED variable names and fail when variable missing

This commit is contained in:
Gregory Schier
2025-03-06 07:15:02 -08:00
parent 0db0cdfd6c
commit 787a0433cb
4 changed files with 26 additions and 10 deletions

View File

@@ -6,6 +6,9 @@ pub enum Error {
#[error("Render Error: {0}")]
RenderError(String),
#[error("Render Error: Variable \"{0}\" is not defined in active environment")]
VariableNotFound(String),
#[error("Render Error: Max recursion depth exceeded")]
RenderStackExceededError,
}