preCICE
v3.2.0
Loading...
Searching...
No Matches
src
precice
Exceptions.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
stdexcept
>
4
5
#include "precice/export.h"
6
7
namespace
precice
{
8
9
class
PRECICE_API
Error
:
public
std::runtime_error
{
10
public
:
11
Error
(
const
std::string
&what_arg)
12
:
std
::runtime_error(what_arg) {};
13
};
14
15
}
// namespace precice
std::string
precice::Error
Definition
Exceptions.hpp:9
precice::Error::Error
Error(const std::string &what_arg)
Definition
Exceptions.hpp:11
precice
Main namespace of the precice library.
Definition
Acceleration.cpp:5
std
STL namespace.
std::runtime_error
stdexcept