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

#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 30 of file openssl.h.

Constructor & Destructor Documentation

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

Definition at line 33 of file openssl.h.

33  :
34  Exception(what + " failed: " + ERR_error_string(ERR_get_error(), nullptr)) {}
Exception(const std::string &msg)
Definition: exceptn.h:24
const char * what() const BOTAN_NOEXCEPT override
Definition: exceptn.h:26

Member Function Documentation

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

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