Mantid
Loading...
Searching...
No Matches
ErrorHandling.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2012 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
7#pragma once
8
10#include <stdexcept>
11#include <string>
12
17namespace Mantid {
18namespace PythonInterface {
19
24class MANTID_PYTHONINTERFACE_CORE_DLL PythonException : public std::runtime_error {
25public:
26 PythonException(bool withTrace = true);
27};
28
29} // namespace PythonInterface
30} // namespace Mantid
Exception type that captures the current Python error state as a generic C++ exception for any genera...
Definition: ErrorHandling.h:24
#define MANTID_PYTHONINTERFACE_CORE_DLL
Definition: DllConfig.h:17
Helper class which provides the Collimation Length for SANS instruments.