LevelS C++ support library  3.83
Macros
error_handling.h File Reference
#include <string>
#include <iostream>

Go to the source code of this file.

Macros

#define planck_fail(msg)
 
#define planck_fail_quietly(msg)   do { throw PlanckError(msg); } while(0)
 
#define planck_assert(testval, msg)   do { if (testval); else planck_fail(msg); } while(0)
 
#define PLANCK_DIAGNOSIS_BEGIN   try {
 
#define PLANCK_DIAGNOSIS_END
 

Detailed Description

Utilities for error reporting

Copyright (C) 2003-2011 Max-Planck-Society Authors: Reinhard Hell, Martin Reinecke

Definition in file error_handling.h.


Generated on Wed Nov 13 2024 12:18:16 for LevelS C++ support library