Skip to main content

islet_sdk/
error.rs

1use rust_rsi::TokenError;
2
3#[derive(Debug)]
4pub enum Error {
5    CCAToken(TokenError),
6    Claims,
7    Decoding,
8    InvalidArgument,
9    NotSupported,
10    Report,
11    Sealing,
12    SealingKey,
13    Serialize,
14}
15
16impl From<TokenError> for Error {
17    fn from(err: TokenError) -> Self {
18        Error::CCAToken(err)
19    }
20}