Scarab  v2.11.1
Project 8 C++ Utility Library
Public Member Functions | Public Attributes | List of all members
error_scope Struct Reference

RAII wrapper that temporarily clears any Python error state. More...

#include <common.h>

Public Member Functions

 error_scope ()
 
 ~error_scope ()
 

Public Attributes

PyObject * type
 
PyObject * value
 
PyObject * trace
 

Detailed Description

RAII wrapper that temporarily clears any Python error state.

Definition at line 714 of file detail/common.h.

Constructor & Destructor Documentation

◆ error_scope()

error_scope ( )
inline

Definition at line 716 of file detail/common.h.

◆ ~error_scope()

~error_scope ( )
inline

Definition at line 717 of file detail/common.h.

Member Data Documentation

◆ trace

PyObject * trace

Definition at line 715 of file detail/common.h.

◆ type

PyObject* type

Definition at line 715 of file detail/common.h.

◆ value

PyObject * value

Definition at line 715 of file detail/common.h.


The documentation for this struct was generated from the following file: