mailgen 0.4.2

Mailgen generates clean, responsive HTML and Text e-mails for sending transactional mail
Documentation
1
2
3
4
5
6
7
8
9
10
11
use thiserror::Error;

#[derive(Error, Debug)]
pub enum Error {
    #[error("rendering error: {0}")]
    Render(#[from] minijinja::Error),
    #[error("css inlining error: {0}")]
    InlineCSS(#[from] css_inline::InlineError),
    #[error("html to text error: {0}")]
    HtmlToText(#[from] html2text::Error),
}