19#ifndef PYSTON_EXCEPTIONS_H
20#define PYSTON_EXCEPTIONS_H
24#include <boost/python/object.hpp>
static Elements::Logging logger
Logger.
boost::python::object m_error_traceback
void restore() const
Call PyErr_Restore and restore the error. This can be used when Pyston::Exception goes back to Python...
std::list< Location > m_traceback
const std::list< Location > & getTraceback() const
boost::python::object m_error_type
boost::python::object m_error_value
const Exception & log(log4cpp::Priority::Value level, Elements::Logging &logger) const
Log error message and traceback.