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
9
namespace
NumLib
10
{
11
struct
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
NumLib
Definition
ProjectData.h:35
NumLib::AssemblyException::AssemblyException
AssemblyException(std::string const &reason)
Definition
Exceptions.h:13
NumLib
Exceptions.h
Generated by
1.14.0