Exception to be thrown whenever we have _throw_on_error set and a mooseError() is emitted. More...
#include <MooseError.h>
Public Member Functions | |
MooseRuntimeError (const std::string &message, const hit::Node *const node) | |
const hit::Node * | getNode () const |
Get the associated hit node, if any. More... | |
Private Attributes | |
const hit::Node *const | _node |
The associated hit node, if any. More... | |
Exception to be thrown whenever we have _throw_on_error set and a mooseError() is emitted.
Enables adding the context of the hit node from the location in input associated with the error, which can be used in the MooseServer to produce diagnostics without parsing messages.
Definition at line 143 of file MooseError.h.
|
inline |
Definition at line 146 of file MooseError.h.
|
inline |
Get the associated hit node, if any.
Definition at line 152 of file MooseError.h.
|
private |
The associated hit node, if any.
Definition at line 156 of file MooseError.h.
Referenced by getNode().