Dune Core Modules (2.11.0)

errors.hh
Go to the documentation of this file.
1#pragma once
2
4
10namespace Dune {
11
12class Gmsh4Error : public Exception {};
13
14}
15
19#define GMSH4_ASSERT_MSG(cond, text) \
20 do { \
21 if (!(cond)) \
22 DUNE_THROW(Dune::Gmsh4Error, text); \
23 } while (false)
24
25
29#define GMSH4_ASSERT(cond) \
30 do { \
31 if (!(cond)) \
32 DUNE_THROW(Dune::Gmsh4Error, #cond); \
33 } while (false)
A few common exception classes.
Dune namespace
Definition: alignedallocator.hh:13
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden & Uni Heidelberg  |  generated with Hugo v0.111.3 (Feb 14, 23:39, 2026)