msnp11-sdk 0.11.3

An MSNP11 client SDK
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Errors when performing contact actions.
#[derive(Debug, thiserror::Error)]
#[cfg_attr(feature = "uniffi", derive(uniffi::Error))]
pub enum ContactError {
    #[error("Server returned an error while logging in")]
    ServerError,
    #[error("An invalid argument was sent")]
    InvalidArgument,
    #[error("Command refers to an invalid contact")]
    InvalidContact,
    #[error("Error receiving data")]
    ReceivingError,
    #[error("Error transmitting data")]
    TransmittingError,
    #[error("The contact you're trying to invite is offline")]
    ContactIsOffline,
}