preCICE v3.1.1
Loading...
Searching...
No Matches
CommonErrorMessages.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <string>
4
5namespace precice::impl {
6
8{
9 return "The given VertexID \"" + std::to_string(vid) + "\" is invalid. Check that it originated from a call to setMeshVertex() or setMeshVertices().";
10}
11
12static constexpr auto errorInvalidVertexIDRange = "The given range of VertexIDs contains invalid IDs at offsets [{},{}]. Check that they originated from calls to setMeshVertex() or setMeshVertices().";
13
14} // namespace precice::impl
std::string errorInvalidVertexID(int vid)
static constexpr auto errorInvalidVertexIDRange
T to_string(T... args)