Public Member Functions | Public Attributes | Private Attributes | List of all members
error_fetch_and_normalize Struct Reference

#include <pytypes.h>

Public Member Functions

 error_fetch_and_normalize (const char *called)
 
 error_fetch_and_normalize (const error_fetch_and_normalize &)=delete
 
 error_fetch_and_normalize (error_fetch_and_normalize &&)=delete
 
std::string const & error_string () const
 
std::string format_value_and_trace () const
 
bool matches (handle exc) const
 
void restore ()
 

Public Attributes

object m_trace
 
object m_type
 
object m_value
 

Private Attributes

std::string m_lazy_error_string
 
bool m_lazy_error_string_completed = false
 
bool m_restore_called = false
 

Detailed Description

Definition at line 424 of file pytypes.h.

Constructor & Destructor Documentation

◆ error_fetch_and_normalize() [1/3]

error_fetch_and_normalize::error_fetch_and_normalize ( const char *  called)
inlineexplicit

Definition at line 431 of file pytypes.h.

◆ error_fetch_and_normalize() [2/3]

error_fetch_and_normalize::error_fetch_and_normalize ( const error_fetch_and_normalize )
delete

◆ error_fetch_and_normalize() [3/3]

error_fetch_and_normalize::error_fetch_and_normalize ( error_fetch_and_normalize &&  )
delete

Member Function Documentation

◆ error_string()

std::string const& error_fetch_and_normalize::error_string ( ) const
inline

Definition at line 546 of file pytypes.h.

◆ format_value_and_trace()

std::string error_fetch_and_normalize::format_value_and_trace ( ) const
inline

defined(PYPY_VERSION)

Definition at line 475 of file pytypes.h.

◆ matches()

bool error_fetch_and_normalize::matches ( handle  exc) const
inline

Definition at line 564 of file pytypes.h.

◆ restore()

void error_fetch_and_normalize::restore ( )
inline

Definition at line 554 of file pytypes.h.

Member Data Documentation

◆ m_lazy_error_string

std::string error_fetch_and_normalize::m_lazy_error_string
mutableprivate

Definition at line 573 of file pytypes.h.

◆ m_lazy_error_string_completed

bool error_fetch_and_normalize::m_lazy_error_string_completed = false
mutableprivate

Definition at line 574 of file pytypes.h.

◆ m_restore_called

bool error_fetch_and_normalize::m_restore_called = false
mutableprivate

Definition at line 575 of file pytypes.h.

◆ m_trace

object error_fetch_and_normalize::m_trace

Definition at line 569 of file pytypes.h.

◆ m_type

object error_fetch_and_normalize::m_type

Definition at line 569 of file pytypes.h.

◆ m_value

object error_fetch_and_normalize::m_value

Definition at line 569 of file pytypes.h.


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


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