summaryrefslogtreecommitdiff
path: root/protocol/src/member/error.rs
blob: 143329ccb0bbd26f5d5a8bf3e68b18769926ef81 (plain)
1
2
3
4
5
6
7
8
#[derive(Debug, thiserror::Error)]
pub enum EMailAddressParseError {
    #[error("Invalid email format")]
    InvalidFormat,

    #[error("Account or domain cannot be empty")]
    EmptyPart,
}