Mantid
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Mantid::PythonInterface::PythonException Class Reference

Exception type that captures the current Python error state as a generic C++ exception for any general Python exception. More...

#include <ErrorHandling.h>

Inheritance diagram for Mantid::PythonInterface::PythonException:

Public Member Functions

 PythonException (bool withTrace=true)
 Construct an exception object where the message is populated from the current Python exception state. More...
 

Detailed Description

Exception type that captures the current Python error state as a generic C++ exception for any general Python exception.

Definition at line 24 of file ErrorHandling.h.

Constructor & Destructor Documentation

◆ PythonException()

Mantid::PythonInterface::PythonException::PythonException ( bool  withTrace = true)

Construct an exception object where the message is populated from the current Python exception state.

Parameters
withTraceIf true, include the full traceback in the message

Definition at line 95 of file ErrorHandling.cpp.


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