Botan  2.7.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:
Botan::Exception

Public Member Functions

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

Detailed Description

Definition at line 33 of file openssl.h.

Constructor & Destructor Documentation

◆ OpenSSL_Error() [1/2]

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

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

◆ OpenSSL_Error() [2/2]

Botan::OpenSSL_Error::OpenSSL_Error ( const std::string &  what,
int  err 
)
inline

Definition at line 39 of file openssl.h.

39  :
40  Exception(what + " failed: " + ERR_error_string(err, 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
inlineoverrideinherited

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