Scarab  v2.9.0
Project 8 C++ Utility Library
Public Member Functions | List of all members
builtin_exception Class Referenceabstract

C++ bindings of builtin Python exceptions. More...

#include <common.h>

Inheritance diagram for builtin_exception:
Inheritance graph

Public Member Functions

virtual void set_error () const =0
 Set the error using the Python C API. More...
 

Detailed Description

C++ bindings of builtin Python exceptions.

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

Member Function Documentation

◆ set_error()

virtual void set_error ( ) const
pure virtual

Set the error using the Python C API.

Implemented in reference_cast_error, cast_error, buffer_error, type_error, value_error, key_error, index_error, and stop_iteration.


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