Tacopie  3.0.0
Tacopie is a TCP Client & Server C++11 library.
Classes | Namespaces | Macros
error.hpp File Reference
#include <cstdint>
#include <stdexcept>
#include <string>
#include <tacopie/utils/logger.hpp>

Go to the source code of this file.

Classes

class  tacopie::tacopie_error
 

Namespaces

 tacopie
 

Macros

#define __TACOPIE_THROW(level, what)
 macro for convenience More...
 

Macro Definition Documentation

◆ __TACOPIE_THROW

#define __TACOPIE_THROW (   level,
  what 
)
Value:
{ \
__TACOPIE_LOG(level, (what)); \
throw tacopie::tacopie_error((what), __FILE__, __LINE__); \
}
Definition: error.hpp:36

macro for convenience