PMDK C++ bindings  1.13.0-git107.g7e59f08f
This is the C++ bindings documentation for PMDK's libpmemobj.
pexceptions.hpp File Reference

Custom pmem exceptions. More...

#include <stdexcept>
#include <string>
#include <system_error>
#include <tuple>
#include <libpmemobj/atomic_base.h>
#include <libpmemobj/base.h>
#include <libpmemobj++/detail/integer_sequence.hpp>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pmem::pool_error
 Custom pool error class. More...
 
class  pmem::pool_invalid_argument
 Custom pool error class. More...
 
class  pmem::transaction_error
 Custom transaction error class. More...
 
class  pmem::lock_error
 Custom lock error class. More...
 
class  pmem::transaction_alloc_error
 Custom transaction error class. More...
 
class  pmem::transaction_out_of_memory
 Custom out of memory error class. More...
 
class  pmem::transaction_free_error
 Custom transaction error class. More...
 
class  pmem::transaction_scope_error
 Custom transaction error class. More...
 
class  pmem::manual_tx_abort
 Custom transaction error class. More...
 
class  pmem::layout_error
 Custom layout error class. More...
 
class  pmem::ctl_error
 Custom ctl error class. More...
 
class  pmem::defrag_error
 Custom defrag error class. More...
 

Namespaces

 pmem
 Persistent memory namespace.
 
 pmem::detail
 Implementation details.
 

Functions

std::string pmem::detail::errormsg (void)
 Return last libpmemobj error message as a std::string.
 
template<typename ExcT , size_t... I, typename Tuple >
ExcT pmem::detail::exception_with_errormsg_helper (index_sequence< I... >, Tuple &&args)
 Helper for exception_with_errormsg. More...
 
template<class ExcT , typename... Args>
ExcT pmem::detail::exception_with_errormsg (Args &&... args)
 Generic error message decorator for pmemobj-based exceptions. More...
 

Detailed Description

Custom pmem exceptions.