Botan  2.4.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)
 
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)
inline

Definition at line 36 of file openssl.h.

References Botan::make_openssl_block_cipher(), Botan::make_openssl_cipher_mode(), and Botan::make_openssl_hash().

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
inlineoverrideinherited

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