RDKit
Open-source cheminformatics and machine learning.
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
 

Detailed Description

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

Definition at line 55 of file Exceptions.h.

Constructor & Destructor Documentation

◆ KeyErrorException()

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

Definition at line 57 of file Exceptions.h.

◆ ~KeyErrorException()

KeyErrorException::~KeyErrorException ( )
inlinenoexcept

Definition at line 65 of file Exceptions.h.

Member Function Documentation

◆ key()

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

Definition at line 61 of file Exceptions.h.

◆ what()

const char* KeyErrorException::what ( ) const
inlineoverridenoexcept

Definition at line 63 of file Exceptions.h.


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