use crate::error::LibraryError;
use thiserror::Error;
#[derive(Error, Debug, PartialEq, Clone)]
pub enum CredentialError {
#[error(transparent)]
LibraryError(#[from] LibraryError),
#[error("Unsupported credential type.")]
UnsupportedCredentialType,
#[error("Invalid signature.")]
InvalidSignature,
}