did-scid 0.1.5

Implementation of did:scid in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use didwebvh_rs::DIDWebVHError;
use thiserror::Error;

#[derive(Error, Debug)]
pub enum DIDSCIDError {
    #[error("Unsupported format")]
    UnsupportedFormat,
    #[error("DID URL Error: {0}")]
    DidUrlError(String),
    #[error("WebVH error")]
    WebVHError(#[from] DIDWebVHError),
    #[error("Cheqd error: {0}")]
    CheqdError(String),
    #[error("Is a peer SCID DID, but no peer source information provided")]
    MissingPeerSource,
    #[error("Serialization/Deserializaton error occurred")]
    SerdeError(#[from] serde_json::Error),
}