Wildmeshing Toolkit
attribute_error.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <optional>
3
#include <stdexcept>
4
#include <
wmtk/Primitive.hpp
>
5
#include <
wmtk/attribute/AttributeType.hpp
>
6
#include "../AttributeDescription.hpp"
7
8
namespace
wmtk::components::multimesh::utils::detail
{
9
10
class
attribute_error
:
public
std::range_error
11
{
12
public
:
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
{}
18
AttributeDescription
description
;
19
};
20
}
// namespace wmtk::components::multimesh::utils::detail
AttributeType.hpp
Primitive.hpp
wmtk::components::multimesh::utils::detail::attribute_error
Definition:
attribute_error.hpp:11
wmtk::components::multimesh::utils::detail::attribute_error::attribute_error
attribute_error(const std::string_view &message, Args &&... args)
Definition:
attribute_error.hpp:14
wmtk::components::multimesh::utils::detail::attribute_error::description
AttributeDescription description
Definition:
attribute_error.hpp:18
std
Definition:
autodiff.h:995
wmtk::components::multimesh::utils::detail
Definition:
attribute_ambiguous_error.cpp:8
wmtk::components::multimesh::utils::AttributeDescription
Definition:
AttributeDescription.hpp:17
components
multimesh
src
wmtk
components
multimesh
utils
detail
attribute_error.hpp
Generated by
1.9.1