vicarian 0.5.0

Vicarian is a TLS-first reverse-proxy server with ACME support
1
2
3
4
5
6
7
8
9
10
11
12
13
use camino::Utf8PathBuf;


/// Most errors are handled/created with anyhow, however some
/// transient errors may need to be handled differently.
#[derive(Debug, PartialEq, thiserror::Error)]
pub enum VicarianError {
    #[error("TLS Key & Cert don't match: {0}, {1}")]
    CertificateMismatch(Utf8PathBuf, Utf8PathBuf),

    #[error(transparent)]
    RustlsError(#[from] rustls::Error),
}