quokka-mailing 0.3.0-beta.0

A new framework for building old-school fullstack web applications
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Clone, Debug, thiserror::Error)]
pub enum Error {
    #[error("Configuration error: {0}")]
    Config(#[from] quokka_config::Error),
    #[error("Unable to connect to mailserver {0}")]
    ConnectToMailserverError(String),
    #[error("Unable to compile message")]
    CompileMessageError,
    #[error("Unable to send E-Mail to {0:?}")]
    UnableToSendMessage(Vec<String>),
}

pub type Result<T> = std::result::Result<T, Error>;