tls_api_openssl/
error.rs

1#[derive(Debug, thiserror::Error)]
2pub(crate) enum Error {
3    #[allow(dead_code)]
4    #[error("openssl is compiled without ALPN")]
5    CompiledWithoutAlpn,
6    #[error("incorrect ALPN protocol name length")]
7    AlpnProtocolLen,
8}