HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pyError.h File Reference
#include "pxr/pxr.h"
#include "pxr/base/tf/api.h"
#include "pxr/base/tf/errorMark.h"
#include <hboost/python/default_call_policies.hpp>
+ Include dependency graph for pyError.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TfPyRaiseOnError< Base >
 
struct  TfPyRaiseOnError< Base >::ErrorMarkAndArgs< BaseArgs >
 
struct  Tf_PyErrorClearer
 

Functions

PXR_NAMESPACE_OPEN_SCOPE
TF_API bool 
TfPyConvertTfErrorsToPythonException (TfErrorMark const &m)
 
TF_API void TfPyConvertPythonExceptionToTfErrors ()
 

Function Documentation

TF_API void TfPyConvertPythonExceptionToTfErrors ( )

Convert the current python exception to TfError objects and post them to the error system. User code should generally not have to call this, unless it's manually bridging between C++ & Python.

PXR_NAMESPACE_OPEN_SCOPE TF_API bool TfPyConvertTfErrorsToPythonException ( TfErrorMark const &  m)

Converts any TfError objects in m into python exceptions. User code should generally not have to call this. User code should generally not have to call this, unless it's manually bridging between C++ & Python.