Revision f9ea88b9bc3b1f366e589fa2f7ebc1514be820e9 authored by Lars Bilke on 27 May 2021, 13:07:21 UTC, committed by Lars Bilke on 27 May 2021, 14:04:53 UTC
1 parent 730335a
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