Revision 37e971f557e78da9ec12bbf7c16abe66b07bed2f authored by Lars Bilke on 11 March 2021, 13:24:27 UTC, committed by Lars Bilke on 16 March 2021, 19:46:13 UTC
1 parent ea87476
Raw File
Exceptions.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2021, 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
{
    AssemblyException(std::string const& reason)
        : std::runtime_error{"Error in process' assembly: " + reason} {};
};
}  // namespace NumLib
back to top