escript  Revision_
pyerr.h
Go to the documentation of this file.
1 /*****************************************************************************
2 *
3 * Copyright (c) 2015-2016 by The University of Queensland
4 * http://www.uq.edu.au
5 *
6 * Primary Business: Queensland, Australia
7 * Licensed under the Apache License, version 2.0
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
11 * Development 2012-2013 by School of Earth Sciences
12 * Development from 2014 by Centre for Geoscience Computing (GeoComp)
13 *
14 *****************************************************************************/
15 
16 // Function factored out of SubWorld code
17 #ifndef ESPYERR_H
18 #define ESPYERR_H
19 
20 #include <string>
21 #include "system_dep.h"
22 #include "types.h"
23 #include "boost/python/errors.hpp"
24 
26 void getStringFromPyException(boost::python::error_already_set e, std::string& errormsg);
27 
28 #endif
29 
#define ESYSUTILS_DLL_API
Definition: esysUtils/src/system_dep.h:31
void getStringFromPyException(boost::python::error_already_set e, std::string &errormsg)
Definition: pyerr.cpp:27