pub fn template_error_alert_html(
app_root: &Path,
message: &str,
) -> Option<String>Expand description
Renders the shared inline error fragment used by declarative form pages.
§Parameters
app_root: Input consumed bycrate::runtime::json_commands::template_error_alert_html.message: Input consumed bycrate::runtime::json_commands::template_error_alert_html.
§Returns
Returns Some when crate::runtime::json_commands::template_error_alert_html can produce a value and None otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::template_error_alert_html(std::path::Path::new("apps/dev_docs"), "example");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.