PDI 0.6.1

Data exchange made easy

PDI::Error Class Reference
Inheritance diagram for PDI::Error:

Public Member Functions

template<typename... Args>
 Error (PDI_status_t errcode, const char *fmt, const Args &... args)
 Creates a PDI error. More...
 
 Error (PDI_status_t errcode, const char *fmt)
 
const char * what () const noexcept override
 
PDI_status_t status () const noexcept
 

Constructor & Destructor Documentation

◆ Error() [1/2]

template<typename... Args>
PDI::Error::Error ( PDI_status_t  errcode,
const char *  fmt,
const Args &...  args 
)
inline

Creates a PDI error.

Parameters
[in]errcodethe error code of the error to create
[in]fmtan errror message as a python-style format
[in]argsthe python-style parameters for the message
See also
printf

◆ Error() [2/2]

PDI::Error::Error ( PDI_status_t  errcode,
const char *  fmt 
)

Member Function Documentation

◆ what()

const char* PDI::Error::what ( ) const
overridenoexcept

◆ status()

PDI_status_t PDI::Error::status ( ) const
noexcept

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