//! Render error type for Minijinja page renderers.

#[derive(Debug, thiserror::Error)]
pub enum RenderError {
    #[error("template '{0}' not found in environment")]
    TemplateNotFound(String),
    #[error("render failed: {0}")]
    Minijinja(#[from] minijinja::Error),
}
