Add Error::UnsupportedFeature

This commit is contained in:
Heiko Schaefer 2022-05-30 21:47:36 +02:00
parent ce03cc7e70
commit b45226dbe6
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D

View file

@ -35,6 +35,9 @@ pub enum Error {
#[error("Unsupported algorithm: {0}")] #[error("Unsupported algorithm: {0}")]
UnsupportedAlgo(String), UnsupportedAlgo(String),
#[error("Unsupported feature: {0}")]
UnsupportedFeature(String),
// FIXME: placeholder, remove again later? // FIXME: placeholder, remove again later?
#[error("Internal error: {0}")] #[error("Internal error: {0}")]
InternalError(String), InternalError(String),