LevelS C++ support library  3.82
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 Thu Jul 28 2022 17:32:06 for LevelS C++ support library