9#ifndef BOTAN_TPM2_ERROR_H_
10#define BOTAN_TPM2_ERROR_H_
12#include <botan/exceptn.h>
31 return static_cast<int>(m_rc);
34 std::string error_message()
const;
#define BOTAN_PUBLIC_API(maj, min)
Exception(std::string_view msg)
ErrorType error_type() const noexcept override
Error(std::string_view location, TSS2_RC rc)
int error_code() const noexcept override
TSS2_RC get_raw_rc(TSS2_RC rc)
uint32_t TSS2_RC
Forward declaration of TSS2 type for convenience.