Skip to main content

create

Function create 

Source
pub async fn create(
    session: &mut Session,
    name: Option<&str>,
    source: &str,
) -> Result<String, CommandError>
Expand description

Store a new template and return its id.

ยงErrors

CommandError::FormInvalid for a source that does not compile, or the server error.