mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-27 03:08:33 +02:00
Make rendering return Result, and handle infinite recursion
This commit is contained in:
@@ -13,6 +13,9 @@ pub enum Error {
|
||||
#[error("Plugin error: {0}")]
|
||||
PluginError(#[from] yaak_plugins::error::Error),
|
||||
|
||||
#[error("Render error: {0}")]
|
||||
TemplateError(#[from] yaak_templates::error::Error),
|
||||
|
||||
#[error("WebSocket error: {0}")]
|
||||
GenericError(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user