1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13

/// error while request attestation service 
#[derive(Fail, Debug)]
#[fail(display = "Error while using the attestation service info = ({})", message)]
pub struct AttestationServiceErr{
    pub message : String,
}
/// Error decoding quote into a struct.
#[derive(Fail, Debug)]
#[fail(display = "Error while decoding the quote = ({})", message)]
pub struct QuoteErr{
    pub message : String,
}