Pack v2.0.4
Error Class Reference

Pack error (exception) class. More...

#include <error.hpp>

Public Member Functions

 Error (const string &message)
 Creates a new Pack error (exception) instance.
 
const char * what () const noexcept override
 Returns Pack error message C-string.
 
what (T... args)
 

Detailed Description

Pack error (exception) class.

Constructor & Destructor Documentation

◆ Error()

Error ( const string & message)
inline

Creates a new Pack error (exception) instance.

Parameters
messagetarget error message