Mantid
Loading...
Searching...
No Matches
Framework
PythonInterface
core
inc
MantidPythonInterface
core
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
9
#include "
MantidPythonInterface/core/DllConfig.h
"
10
#include <stdexcept>
11
#include <string>
12
17
namespace
Mantid
{
18
namespace
PythonInterface {
19
24
class
MANTID_PYTHONINTERFACE_CORE_DLL
PythonException
:
public
std::runtime_error {
25
public
:
26
PythonException
(
bool
withTrace =
true
);
27
};
28
29
}
// namespace PythonInterface
30
}
// namespace Mantid
Mantid::PythonInterface::PythonException
Exception type that captures the current Python error state as a generic C++ exception for any genera...
Definition:
ErrorHandling.h:24
DllConfig.h
MANTID_PYTHONINTERFACE_CORE_DLL
#define MANTID_PYTHONINTERFACE_CORE_DLL
Definition:
DllConfig.h:17
Mantid
Helper class which provides the Collimation Length for SANS instruments.
Definition:
AbsorptionCorrection.h:18
Generated on Tue Jan 3 2023 11:57:58 for Mantid by
1.9.5