Revision 0fae885b11672161fb5f3a5bc8e8569ad97c8e98 authored by Lars Bilke on 14 June 2024, 11:21:40 UTC, committed by Lars Bilke on 14 June 2024, 11:21:40 UTC
1 parent ff3909e
Raw File
Exceptions.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2024, 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