Wildmeshing Toolkit
Loading...
Searching...
No Matches
attribute_error.hpp
Go to the documentation of this file.
1#pragma once
2#include <optional>
3#include <stdexcept>
4#include <wmtk/Primitive.hpp>
6#include "../AttributeDescription.hpp"
7
9
10class attribute_error : public std::range_error
11{
12public:
13 template <typename... Args>
14 attribute_error(const std::string_view& message, Args&&... args)
15 : std::range_error(std::string(message))
16 , description(std::forward<Args>(args)...)
17 {}
19};
20} // namespace wmtk::components::multimesh::utils::detail
attribute_error(const std::string_view &message, Args &&... args)