use crate::ssh::SshKeyAlgorithm;
#[derive(thiserror::Error, Debug, Clone)]
#[non_exhaustive]
pub enum Error {
#[error("Unsupported key algorithm {0}")]
UnsupportedKeyAlgorithm(SshKeyAlgorithm),
#[error("Failed to parse certificate")]
CertParse(tor_bytes::Error),
#[error("Internal error")]
Bug(#[from] tor_error::Bug),
}