Skip to content

Commit b486db8

Browse files
authored
Merge pull request #4375 from roystgnr/fix_no_exceptions
Add TerminationException::what()
2 parents dcacb24 + 0302afb commit b486db8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

include/base/libmesh_exceptions.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,8 @@ class TerminationException
178178
{
179179
public:
180180
TerminationException() {}
181+
182+
const char * what() const noexcept { return "libMesh termination requested"; }
181183
};
182184

183185
}

0 commit comments

Comments
 (0)