μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
exceptions.hpp
Go to the documentation of this file.
1
2#ifndef UHAL_PYCOHAL_EXCEPTIONS_HPP
3#define UHAL_PYCOHAL_EXCEPTIONS_HPP
4
5
7
8namespace pybind11 {
9class module_;
10}
11
12namespace pycohal {
13
14 UHAL_DEFINE_EXCEPTION_CLASS(PycohalLogLevelEnumError, "Exception class to handle errors in translating logging levels")
15
16
18
19}
20
21
22#endif
Wrapper for Python extension modules.
Definition: pybind11.h:1145
#define UHAL_DEFINE_EXCEPTION_CLASS(ClassName, ClassDescription)
Definition: exception.hpp:59
void wrap_exceptions(pybind11::module_ &)
Wraps all uHAL exceptions (i.e. creates corresponding Python classes, and regsiters appropriate excep...
Definition: exceptions.cpp:17