1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use ssi_cose::CoseError;

mod credential;
pub use credential::*;

mod presentation;
pub use presentation::*;

#[derive(Debug, thiserror::Error)]
pub enum CoseDecodeError {
    #[error(transparent)]
    Decode(#[from] CoseError),

    #[error(transparent)]
    Payload(#[from] serde_json::Error),
}