https://gitlab.opengeosys.org/ogs/ogs.git
Raw File
Tip revision: d2a288490017491fe0a196d64c03598175f54ff4 authored by Dmitry Yu. Naumov on 19 September 2023, 17:04:18 UTC
Merge branch 'UseMediaInSmallDeformation' into 'master'
Tip revision: d2a2884
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