dune-vtk 2.12
Loading...
Searching...
No Matches
errors.hh
Go to the documentation of this file.
1#pragma once
2
4
10namespace Dune::Vtk {
11
12class VtkError : public Exception {};
13
14}
15
19#define VTK_ASSERT_MSG(cond, text) \
20 do { \
21 if (!(cond)) \
22 DUNE_THROW(Dune::Vtk::VtkError, text); \
23 } while (false)
24
25
29#define VTK_ASSERT(cond) \
30 do { \
31 if (!(cond)) \
32 DUNE_THROW(Dune::Vtk::VtkError, #cond); \
33 } while (false)
Definition writer.hh:16
Definition errors.hh:12