pub fn with_error(template: &str, error: impl Display) -> String
Fill the {error} placeholder of a message template.
{error}