From 9d9d5dac7a2e342a35482756ef7c92d045f8f835 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 18 Feb 2023 20:40:08 -0500 Subject: refactor client cert handling --- src/error.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index 41d0d4a..d165a92 100644 --- a/src/error.rs +++ b/src/error.rs @@ -118,6 +118,18 @@ pub enum Error { file: std::path::PathBuf, }, + #[error("failed to load client cert from {}", .file.display())] + LoadClientCert { + source: tokio::io::Error, + file: std::path::PathBuf, + }, + + #[error("failed to load client cert from {}", .file.display())] + LoadClientCertReqwest { + source: reqwest::Error, + file: std::path::PathBuf, + }, + #[error("invalid padding")] Padding, -- cgit v1.2.3-54-g00ecf