Botan  2.8.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan_FFI::FFI_Error Class Referencefinal

#include <ffi_util.h>

Inheritance diagram for Botan_FFI::FFI_Error:

Public Member Functions

int error_code () const
 FFI_Error (const std::string &what, int err_code)
const char * what () const BOTAN_NOEXCEPT override

Detailed Description

Definition at line 19 of file ffi_util.h.

Constructor & Destructor Documentation

◆ FFI_Error()

Botan_FFI::FFI_Error::FFI_Error ( const std::string &  what,
int  err_code 

Definition at line 22 of file ffi_util.h.

22  :
23  Exception("FFI error", what),
24  m_err_code(err_code)
25  {}
Exception(const char *prefix, const std::string &msg)
Definition: exceptn.cpp:18
const char * what() const BOTAN_NOEXCEPT override
Definition: exceptn.h:25

Member Function Documentation

◆ error_code()

int Botan_FFI::FFI_Error::error_code ( ) const

Definition at line 27 of file ffi_util.h.

Referenced by Botan_FFI::ffi_guard_thunk().

27 { return m_err_code; }

◆ what()

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

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