Revision 06910e87dbab1dc10b89d29fda5179fc561187d8 authored by Thomas Fischer on 22 January 2021, 10:36:42 UTC, committed by Dmitri Naumov on 22 January 2021, 14:15:37 UTC
1 parent 3e21886
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