kassandra-client 0.0.14-alpha

Interact with an FMD service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Error type for the Kassandra client library

use thiserror::Error;

pub type Result<T> = std::result::Result<T, Error>;

#[derive(Error, Debug)]
pub enum Error {
    #[error("Error in response from Kassandra service: {0}")]
    ServerError(String),
    #[error("{0}")]
    Io(std::io::Error),
    #[error("{0}")]
    MsgError(shared::MsgError),
    #[error("Establishing RA-TLS connection failed: {0}")]
    RATLS(String),
}