OGS
Exceptions.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <stdexcept>
7#include <string>
8
9namespace NumLib
10{
11struct AssemblyException : public std::runtime_error
12{
13 explicit AssemblyException(std::string const& reason)
14 : std::runtime_error{"Error in process' assembly: " + reason} {};
15};
16} // namespace NumLib
AssemblyException(std::string const &reason)
Definition Exceptions.h:13