add umbrella crate

This commit is contained in:
Aleksandr 2025-09-20 22:55:40 +03:00
parent d171fc723b
commit fe04530f84
17 changed files with 247 additions and 5 deletions

11
email/src/error.rs Normal file
View file

@ -0,0 +1,11 @@
use viendesu_core::{errors::Aux, mk_error};
pub type MailResult<O> = Result<O, MailError>;
mk_error!(MailError);
impl From<MailError> for Aux {
fn from(value: MailError) -> Self {
Self::Mail(eva::str::format_compact!("{}", value.0))
}
}