Some cleanups

- Remove unused errors.
- Add doc comments.
This commit is contained in:
Malte Meiboom
2026-05-06 16:30:42 +02:00
parent c0fe0e91ea
commit 21b45d1702
6 changed files with 14 additions and 17 deletions
+2 -2
View File
@@ -14,8 +14,8 @@ pub mod local;
pub enum CommandError {
#[error("Certificate not found: {0}")]
CertNotFound(Fingerprint),
#[error("List of domains is empty")]
DomainListEmpty,
#[error("Certificate not usable: {0}")]
CertNotUsable(Fingerprint),
}
pub async fn dispatch(cli: CliArgs, config: HuskConfigContainer) -> Result<()> {