https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: 4eb502d849b1b6f8c2b4cd7cec55f1ae841eb4df authored by Dmitry Yu. Naumov on 28 April 2023, 15:20:58 UTC
Merge branch 'SmallFixes' into 'master'
Tip revision: 4eb502d
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