25#ifndef JOIN_CRYPTO_TLS_ERROR_HPP
26#define JOIN_CRYPTO_TLS_ERROR_HPP
29#include <system_error>
52 virtual const char*
name ()
const noexcept;
59 virtual std::string
message (
int code)
const;
87 struct is_error_condition_enum<
join::TlsErrc> :
public true_type
TLS error category.
Definition tls_error.hpp:46
virtual std::string message(int code) const
translate digest error code to human readable error string.
Definition tls_error.cpp:44
virtual const char * name() const noexcept
get digest error category name.
Definition tls_error.cpp:35
Definition acceptor.hpp:32
TlsErrc
TLS error codes.
Definition tls_error.hpp:37
const std::error_category & getTlsCategory()
get error category.
Definition tls_error.cpp:61
std::error_code make_error_code(join::Errc code) noexcept
Create an std::error_code object.
Definition error.cpp:195
std::error_condition make_error_condition(join::Errc code) noexcept
Create an std::error_condition object.
Definition error.cpp:204