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 #ifndef __ESCRIPT_PYERR_H__
17 #define __ESCRIPT_PYERR_H__
18 
19 #include <boost/python/errors.hpp>
20 
21 #include <string>
22 
23 namespace escript {
24 
25 void getStringFromPyException(boost::python::error_already_set e, std::string& errormsg);
26 
27 } // namespace escript
28 
29 #endif // __ESCRIPT_PYERR_H__
30 
Definition: AbstractContinuousDomain.cpp:22
void getStringFromPyException(boost::python::error_already_set e, std::string &errormsg)
Definition: pyerr.cpp:26