Serialbox  2.2.0
Data serialization library and tools for C/C++, Python and Fortran
serialbox::Exception Class Reference

Exception class which stores a human-readable error description. More...

#include <Exception.h>

Inheritance diagram for serialbox::Exception:

Public Member Functions

template<typename... Args>
 Exception (const char *fmt, Args &&... args)
 Variadic constructor to support printf-style arguments. More...
 

Detailed Description

Exception class which stores a human-readable error description.

Creates a std::runtime_error with std::runtime_error::what() set to the formatted string.

Definition at line 30 of file Exception.h.

Constructor & Destructor Documentation

◆ Exception()

template<typename... Args>
serialbox::Exception::Exception ( const char *  fmt,
Args &&...  args 
)
inline

Variadic constructor to support printf-style arguments.

Parameters
fmtPrintf like format string
argsArguments specifying data to print

Definition at line 37 of file Exception.h.


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