Botan  2.6.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::OpenSSL_Error Class Referencefinal

#include <openssl.h>

Inheritance diagram for Botan::OpenSSL_Error:

Public Member Functions

 OpenSSL_Error (const std::string &what)
const char * what () const BOTAN_NOEXCEPT override

Detailed Description

Definition at line 33 of file openssl.h.

Constructor & Destructor Documentation

◆ OpenSSL_Error()

Botan::OpenSSL_Error::OpenSSL_Error ( const std::string &  what)

Definition at line 36 of file openssl.h.

36  :
37  Exception(what + " failed: " + ERR_error_string(ERR_get_error(), nullptr)) {}
Exception(const char *prefix, const std::string &msg)
Definition: exceptn.cpp:14
const char * what() const BOTAN_NOEXCEPT override
Definition: exceptn.h:25

Member Function Documentation

◆ what()

const char* Botan::Exception::what ( ) const

The documentation for this class was generated from the following file: