Revision 2c5b8e5f4452d045071b8bb34b60e53b49a5b2ad authored by wenqing on 02 March 2023, 16:49:26 UTC, committed by wenqing on 02 March 2023, 16:49:26 UTC
[THM] A new benchmark: mini-benchmark1 of FE task force

See merge request ogs/ogs!4486
2 parent s e19b9d3 + 90a8a09
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