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
 
const std::string & 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 504 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 514 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()

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

Definition at line 697 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 574 of file pytypes.h.

◆ matches()

bool error_fetch_and_normalize::matches ( handle  exc) const
inline

Definition at line 715 of file pytypes.h.

◆ restore()

void error_fetch_and_normalize::restore ( )
inline

Definition at line 705 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 724 of file pytypes.h.

◆ m_lazy_error_string_completed

bool error_fetch_and_normalize::m_lazy_error_string_completed = false
mutableprivate

Definition at line 725 of file pytypes.h.

◆ m_restore_called

bool error_fetch_and_normalize::m_restore_called = false
mutableprivate

Definition at line 726 of file pytypes.h.

◆ m_trace

object error_fetch_and_normalize::m_trace

Definition at line 720 of file pytypes.h.

◆ m_type

object error_fetch_and_normalize::m_type

Definition at line 720 of file pytypes.h.

◆ m_value

object error_fetch_and_normalize::m_value

Definition at line 720 of file pytypes.h.


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


gtsam
Author(s):
autogenerated on Thu Dec 19 2024 04:08:51