Revision c010e37424f84b4d559c7ac763f21e16a9574ce5 authored by Lars Bilke on 16 August 2023, 08:16:28 UTC, committed by Lars Bilke on 17 August 2023, 11:51:35 UTC
1 parent 3443b36
Raw File
Exceptions.h
/**
 * \file
 * \copyright
 * Copyright (c) 2012-2023, 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