#[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,
}