identity_credential/revocation/
error.rspub type RevocationResult<T> = std::result::Result<T, RevocationError>;
#[derive(Debug, thiserror::Error, strum::IntoStaticStr)]
#[non_exhaustive]
pub enum RevocationError {
#[error("revocation bitmap could not be deserialized or decompressed")]
BitmapDecodingError(#[source] std::io::Error),
#[error("revocation bitmap could not be serialized or compressed")]
BitmapEncodingError(#[source] std::io::Error),
#[error("{0}")]
InvalidService(&'static str),
#[error("unable to decode base64 string: `{0}`")]
Base64DecodingError(String, #[source] identity_core::error::Error),
#[error("could not parse url")]
#[non_exhaustive]
UrlConstructionError(#[source] Box<dyn std::error::Error + Send + Sync + 'static>),
}