8 #ifndef BOTAN_TLS_EXCEPTION_H_ 9 #define BOTAN_TLS_EXCEPTION_H_ 11 #include <botan/exceptn.h> 12 #include <botan/tls_alert.h> 27 const std::string& err_msg =
"Unknown error") :
30 int error_code() const noexcept
override {
return static_cast<int>(m_alert_type); }
int(* final)(unsigned char *, CTX *)
#define BOTAN_PUBLIC_API(maj, min)
ErrorType error_type() const noexcept override
Unexpected_Message(const std::string &err)
int error_code() const noexcept override
TLS_Exception(Alert::Type type, const std::string &err_msg="Unknown error")