6#include <deal.II/base/exceptions.h>
10#include <prismspf/config.h>
24# define AssertThrowDebug(cond, exc) AssertThrow(cond, exc);
26# define AssertThrowDebug(cond, exc)
40 explicit ExcNaN(
const std::string &msg =
"")
41 :
message(
"PRISMS-PF detected somewhere that a value was NaN.\n" + msg)
46 what() const noexcept
override
57 FeatureNotImplemented,
59 <<
"The following feature has yet to be implemented in PRISMS-PF:\n " << arg1
60 <<
"\nCheck the issues section of PRISMS-PF's github to see if this feature is under "
61 "development. Additionally, please considering provided a patch to PRISMS-PF if you "
62 "feel that feature is worthwhile for yourself and others.");
77 <<
"Attempted access of the variable with index " << arg1
78 <<
" and dependency type " << arg2
79 <<
" that was not marked as needed. Please check CustomAttributeLoader.");
83PRISMS_PF_END_NAMESPACE
std::string message
Definition exceptions.h:36
ExcNaN(const std::string &msg="")
Definition exceptions.h:40
const char * what() const noexcept override
Definition exceptions.h:46
DeclExceptionMsg(UnreachableCode, "This code should not have been reached.")
DeclException2(DependencyNotFound, Types::Index, std::string,<< "Attempted access of the variable with index "<< arg1<< " and dependency type "<< arg2<< " that was not marked as needed. Please check CustomAttributeLoader.")
DeclException1(FeatureNotImplemented, std::string,<< "The following feature has yet to be implemented in PRISMS-PF:\n "<< arg1<< "\nCheck the issues section of PRISMS-PF's github to see if this feature is under " "development. Additionally, please considering provided a patch to PRISMS-PF if you " "feel that feature is worthwhile for yourself and others.")
Definition conditional_ostreams.cc:20
unsigned int Index
Type for field indices.
Definition types.h:19