3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
Error.h File Reference

Error - the class of exceptions thrown when errors occur. More...

#include <exception>
#include <sstream>
#include <string>
#include <stdint.h>

Go to the source code of this file.

Classes

class  pbio::Error
 The class of exceptions thrown when errors occur. More...
 

Namespaces

 pbio
 C++ interface.
 

Macros

#define PBI0x3dfb4fe3Assert(code, expr, description)
 

Detailed Description

Error - the class of exceptions thrown when errors occur.

Macro Definition Documentation

#define PBI0x3dfb4fe3Assert (   code,
  expr,
  description 
)
Value:
do \
{ \
if(!(expr)) \
{ \
throw pbio::Error( \
code, \
"Assertion '" #expr "' failed (" + std::string(description) + \
"), error code: " #code "."); \
} \
} while(0)
The class of exceptions thrown when errors occur.
Definition: Error.h:26