did-scid 0.1.10

Implementation of did:scid in Rust
Documentation
use didwebvh_rs::DIDWebVHError;
use thiserror::Error;

#[derive(Error, Debug)]
#[non_exhaustive]
pub enum DIDSCIDError {
    #[error("Unsupported format")]
    UnsupportedFormat,
    #[error("DID URL Error: {0}")]
    DidUrlError(String),
    #[error("Invalid src parameter: {0}")]
    InvalidSrc(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),
}