preCICE v3.2.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Exceptions.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <stdexcept>
4
5#include "precice/export.h"
6
7namespace precice {
8
9class PRECICE_API Error : public std::runtime_error {
10public:
11 Error(const std::string &what_arg)
12 : std::runtime_error(what_arg) {};
13};
14
15} // namespace precice
Error(const std::string &what_arg)
Main namespace of the precice library.
STL namespace.