PDI 0.5.1

Data exchange made easy

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

Public Member Functions

 Error (PDI_status_t errcode=PDI_OK, const char *message="",...)
 Creates a PDI error. More...
 Error (PDI_status_t errcode, const char *message, va_list args)
const char * what () const noexcept override
PDI_status_t status () const noexcept

Constructor & Destructor Documentation

◆ Error() [1/2]

PDI::Error::Error ( PDI_status_t  errcode = PDI_OK,
const char *  message = "",

Creates a PDI error.

[in]errcodethe error code of the error to create
[in]messagean errror message as a printf-style format
[in]...the printf-style parameters for the message
See also

◆ Error() [2/2]

PDI::Error::Error ( PDI_status_t  errcode,
const char *  message,
va_list  args 

Member Function Documentation

◆ what()

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

◆ status()

PDI_status_t PDI::Error::status ( ) const

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