RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
KeyErrorException Class Reference

Class to allow us to throw a KeyError from C++ and have it make it back to Python. More...

#include <Exceptions.h>

Inheritance diagram for KeyErrorException:

Public Member Functions

 KeyErrorException (std::string key)
 
std::string key () const
 
const char * what () const noexcept override
 
 ~KeyErrorException () noexcept override=default
 

Detailed Description

Class to allow us to throw a KeyError from C++ and have it make it back to Python.

Definition at line 56 of file Exceptions.h.

Constructor & Destructor Documentation

◆ KeyErrorException()

KeyErrorException::KeyErrorException ( std::string key)
inline

Definition at line 58 of file Exceptions.h.

◆ ~KeyErrorException()

KeyErrorException::~KeyErrorException ( )
overridedefaultnoexcept

Member Function Documentation

◆ key()

std::string KeyErrorException::key ( ) const
inline

Definition at line 62 of file Exceptions.h.

◆ what()

const char * KeyErrorException::what ( ) const
inlineoverridenoexcept

Definition at line 64 of file Exceptions.h.


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