Revision cb55c08408c4cdf3d08040451dcd1c2de2a4b4ba authored by Christoph Lehmann on 17 April 2023, 06:46:32 UTC, committed by Christoph Lehmann on 26 April 2023, 15:01:25 UTC
1 parent 7be0e0c
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