Revision e25fce258f532aa9b98185b801a6d74cd638b3ef authored by Lars Bilke on 19 December 2022, 12:29:27 UTC, committed by Lars Bilke on 19 December 2022, 13:52:00 UTC
1 parent c1d1ff2
Raw File
Exceptions.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2022, 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