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{
31struct AssemblyException : public std::runtime_error
32{
33 explicit AssemblyException(std::string const& reason)
34 : std::runtime_error{"Error in process' assembly: " + reason} {};
35};
36} // namespace NumLib
AssemblyException(std::string const &reason)
Definition Exceptions.h:33