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 (const error_scope &)=delete
 
error_scopeoperator= (const error_scope &)=delete
 
 ~error_scope ()
 

Public Attributes

PyObject * trace
 
PyObject * type
 
PyObject * value
 

Detailed Description

RAII wrapper that temporarily clears any Python error state.

Definition at line 993 of file wrap/pybind11/include/pybind11/detail/common.h.

Constructor & Destructor Documentation

◆ error_scope() [1/2]

error_scope::error_scope ( )
inline

◆ error_scope() [2/2]

error_scope::error_scope ( const error_scope )
delete

◆ ~error_scope()

error_scope::~error_scope ( )
inline

Member Function Documentation

◆ operator=()

error_scope& error_scope::operator= ( const error_scope )
delete

Member Data Documentation

◆ trace

PyObject * error_scope::trace

◆ type

PyObject* error_scope::type

◆ value

PyObject * error_scope::value

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


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:02