add umbrella crate
This commit is contained in:
parent
d171fc723b
commit
fe04530f84
17 changed files with 247 additions and 5 deletions
11
email/src/error.rs
Normal file
11
email/src/error.rs
Normal 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))
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue