Botan 3.9.0
Crypto and TLS for C&
exceptn.h File Reference

Public Header. More...

#include <botan/types.h>
#include <exception>
#include <string>

Go to the source code of this file.

Classes

class  Botan::Algorithm_Not_Found
class  Botan::Decoding_Error
class  Botan::Encoding_Error
class  Botan::Exception
class  Botan::Internal_Error
class  Botan::Invalid_Algorithm_Name
class  Botan::Invalid_Argument
class  Botan::Invalid_Authentication_Tag
class  Botan::Invalid_IV_Length
class  Botan::Invalid_Key_Length
class  Botan::Invalid_State
class  Botan::Key_Not_Set
class  Botan::Lookup_Error
class  Botan::Not_Implemented
class  Botan::PRNG_Unseeded
class  Botan::Provider_Not_Found
class  Botan::Stream_IO_Error
class  Botan::System_Error
class  Botan::Unknown_PK_Field_Name

Namespaces

namespace  Botan

Typedefs

typedef Invalid_Authentication_Tag Botan::Integrity_Failure

Enumerations

enum class  Botan::ErrorType : uint16_t {
  Botan::Unknown = 1 , Botan::SystemError = 2 , Botan::NotImplemented = 3 , Botan::OutOfMemory = 4 ,
  Botan::InternalError = 5 , Botan::IoError = 6 , Botan::InvalidObjectState = 100 , Botan::KeyNotSet = 101 ,
  Botan::InvalidArgument = 102 , Botan::InvalidKeyLength = 103 , Botan::InvalidNonceLength = 104 , Botan::LookupError = 105 ,
  Botan::EncodingFailure = 106 , Botan::DecodingFailure = 107 , Botan::TLSError = 108 , Botan::HttpError = 109 ,
  Botan::InvalidTag = 110 , Botan::RoughtimeError = 111 , Botan::CommonCryptoError = 201 , Botan::Pkcs11Error = 202 ,
  Botan::TPMError = 203 , Botan::DatabaseError = 204 , Botan::ZlibError = 300 , Botan::Bzip2Error = 301 ,
  Botan::LzmaError = 302
}

Functions

template<typename E, typename... Args>
void Botan::do_throw_error (const char *file, int line, const char *func, Args... args)
std::string Botan::to_string (ErrorType type)
 Convert an ErrorType to string.

Detailed Description

Public Header.

Definition in file exceptn.h.