diff options
author | Jesse Luehrs <doy@tozt.net> | 2023-02-18 20:40:08 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2023-02-18 20:40:08 -0500 |
commit | 9d9d5dac7a2e342a35482756ef7c92d045f8f835 (patch) | |
tree | 21fa0b05cd89a8a47fad6e766d609649805f45e3 /src/error.rs | |
parent | 323a4a954afc3ec7f7bcda0fd914219c7c2d146d (diff) | |
download | rbw-9d9d5dac7a2e342a35482756ef7c92d045f8f835.tar.gz rbw-9d9d5dac7a2e342a35482756ef7c92d045f8f835.zip |
refactor client cert handling
Diffstat (limited to 'src/error.rs')
-rw-r--r-- | src/error.rs | 12 |
1 files changed, 12 insertions, 0 deletions
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, |