Exceptions

class GenericError : public std::exception
#include <exceptions.hpp>

A generic error.

Base type for all other exceptions.

Subclassed by EigensolverError, FileError, GPUError, HDF5Error, InternalError, InvalidAllocatorFunctionError, InvalidParameterError, InvalidPointerError, NotImplementedError

Public Functions

inline GenericError()
template<std::size_t N>
inline GenericError(const char (&msg)[N])
inline const char *what() const noexcept override
inline virtual BippError error_code() const noexcept

Private Members

const char *msg_
class InternalError : public GenericError
#include <exceptions.hpp>

Public Functions

inline InternalError()
template<std::size_t N>
inline InternalError(const char (&msg)[N])
inline virtual BippError error_code() const noexcept override

Private Members

const char *msg_
class InvalidParameterError : public GenericError
#include <exceptions.hpp>

Public Functions

inline InvalidParameterError()
template<std::size_t N>
inline InvalidParameterError(const char (&msg)[N])
inline virtual BippError error_code() const noexcept override
class InvalidPointerError : public GenericError
#include <exceptions.hpp>

Public Functions

inline InvalidPointerError()
inline virtual BippError error_code() const noexcept override
class InvalidAllocatorFunctionError : public GenericError
#include <exceptions.hpp>

Public Functions

inline InvalidAllocatorFunctionError()
inline virtual BippError error_code() const noexcept override
class EigensolverError : public GenericError
#include <exceptions.hpp>

Public Functions

inline EigensolverError()
inline virtual BippError error_code() const noexcept override
class HDF5Error : public GenericError
#include <exceptions.hpp>

Public Functions

inline HDF5Error()
template<std::size_t N>
inline HDF5Error(const char (&msg)[N])
inline virtual BippError error_code() const noexcept override
class NotImplementedError : public GenericError
#include <exceptions.hpp>

Public Functions

inline NotImplementedError()
inline virtual BippError error_code() const noexcept override
class GPUError : public GenericError
#include <exceptions.hpp>

Subclassed by GPUBlasError, GPUSupportError, MPIError

Public Functions

inline GPUError()
inline GPUError(const char *msg)
inline const char *what() const noexcept override
inline virtual BippError error_code() const noexcept override

Private Members

const char *msg_
class GPUSupportError : public GPUError
#include <exceptions.hpp>

Public Functions

inline GPUSupportError()
inline virtual BippError error_code() const noexcept override
class GPUBlasError : public GPUError
#include <exceptions.hpp>

Public Functions

inline GPUBlasError()
inline GPUBlasError(const char *msg)
inline virtual BippError error_code() const noexcept override
class MPIError : public GPUError
#include <exceptions.hpp>

Public Functions

inline MPIError()
inline virtual BippError error_code() const noexcept override
class FileError : public GenericError
#include <exceptions.hpp>

Public Functions

inline FileError()
template<std::size_t N>
inline FileError(const char (&msg)[N])
inline virtual BippError error_code() const noexcept override