Scarab  v2.11.1
Project 8 C++ Utility Library
Public Member Functions | List of all members
reference_cast_error Class Reference

Thrown when pybind11::cast or handle::call fail due to a type casting error. More...

#include <common.h>

Inheritance diagram for reference_cast_error:
Inheritance graph

Public Member Functions

 reference_cast_error ()
 
void set_error () const override
 Set the error using the Python C API. More...
 

Detailed Description

Thrown when pybind11::cast or handle::call fail due to a type casting error.

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

Constructor & Destructor Documentation

◆ reference_cast_error()

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

Member Function Documentation

◆ set_error()

void set_error ( ) const
inlineoverridevirtual

Set the error using the Python C API.

Implements builtin_exception.

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


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