libMesh::LogicError Class Reference

#include <libmesh_exceptions.h>

Inheritance diagram for libMesh::LogicError:

Public Member Functions

 LogicError ()
 
 LogicError (const std::string &msg)
 

Detailed Description

A class to represent the internal "this should never happen" errors, to be thrown by "libmesh_error();"

Definition at line 38 of file libmesh_exceptions.h.

Constructor & Destructor Documentation

◆ LogicError() [1/2]

libMesh::LogicError::LogicError ( )
inline

Definition at line 41 of file libmesh_exceptions.h.

41 : std::logic_error( "Error in libMesh internal logic" ) {}

◆ LogicError() [2/2]

libMesh::LogicError::LogicError ( const std::string &  msg)
inline

Definition at line 42 of file libmesh_exceptions.h.

42 : std::logic_error( msg ) {}

The documentation for this class was generated from the following file: