33 #include <pdi/pdi_fwd.h> 35 #include <spdlog/fmt/fmt.h> 54 template<
typename S,
typename... Args>
57 m_what{fmt::format(format_str, std::forward<Args>(args)...)}
62 const char* what()
const noexcept
override;
72 template<
typename S,
typename... Args>
86 template<
typename S,
typename... Args>
100 template<
typename S,
typename... Args>
114 template<
typename S,
typename... Args>
128 template<
typename S,
typename... Args>
142 template<
typename S,
typename... Args>
156 template<
typename S,
typename... Args>
170 template<
typename S,
typename... Args>
184 template<
typename S,
typename... Args>
196 #endif // PDI_ERROR_H_
Right_error(const S &format_str, Args &&... args)
Definition: error.h:171
Type_error(const S &format_str, Args &&... args)
Definition: error.h:185
System_error(const S &format_str, Args &&... args)
Definition: error.h:143
PDI_status_t m_status
Definition: error.h:43
Value_error(const S &format_str, Args &&... args)
Definition: error.h:101
on an input call, no such data is available
Definition: pdi.h:77
Unavailable_error(const S &format_str, Args &&... args)
Definition: error.h:73
A system error occured (OS, etc.)
Definition: pdi.h:87
Impl_error(const S &format_str, Args &&... args)
Definition: error.h:129
A value expression is invalid.
Definition: pdi.h:81
The configuration file is invalid.
Definition: pdi.h:79
State_error(const S &format_str, Args &&... args)
Definition: error.h:157
A call to a function has been made at a wrong time (e.g.
Definition: pdi.h:91
Invalid type error.
Definition: pdi.h:95
Tried to load a non-existing plugin.
Definition: pdi.h:83
Config_error(const S &format_str, Args &&... args)
Definition: error.h:87
PDI_status_t
Error codes of PDI.
Definition: pdi.h:73
A conflict of onwership over a content has been raised.
Definition: pdi.h:93
Plugin_error(const S &format_str, Args &&... args)
Definition: error.h:115
Error(PDI_status_t errcode, const S &format_str, Args &&... args)
Creates a PDI error.
Definition: error.h:55
std::string m_what
Definition: error.h:45
Definition: array_datatype.h:37
Implementation limitation (typically an unimplemented feature)
Definition: pdi.h:85