Skip to main content

template_draft

Function template_draft 

Source
pub async fn template_draft(
    user_id: Uuid,
    source: &str,
) -> Result<TemplateDraft, TestError>
Expand description

Compile and render source for user_id; the one path the template-test form and the web test endpoint share.

ยงErrors

The stage and cause of a source that does not compile or render, or of a host failure.