Revision 13a23b3a90f900f010e221063a519a23d86680cb authored by joergbuchwald on 12 December 2022, 19:27:33 UTC, committed by joergbuchwald on 02 February 2023, 14:24:03 UTC
1 parent e998794
Raw File
Exceptions.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
 *            Distributed under a Modified BSD License.
 *              See accompanying file LICENSE.txt or
 *              http://www.opengeosys.org/project/license
 *
 */

#pragma once

#include <stdexcept>
#include <string>

namespace NumLib
{
struct AssemblyException : public std::runtime_error
{
    explicit AssemblyException(std::string const& reason)
        : std::runtime_error{"Error in process' assembly: " + reason} {};
};
}  // namespace NumLib
back to top