RDKit
Open-source cheminformatics and machine learning.
ValueErrorException Class Reference

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

#include <Exceptions.h>

Inheritance diagram for ValueErrorException:

Public Member Functions

 ValueErrorException (const std::string &i)
 
 ValueErrorException (const char *msg)
 
const char * what () const noexcept override
 
const char * message () const noexcept
 
 ~ValueErrorException () noexcept
 

Detailed Description

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

Definition at line 40 of file Exceptions.h.

Constructor & Destructor Documentation

◆ ValueErrorException() [1/2]

ValueErrorException::ValueErrorException ( const std::string &  i)
inline

Definition at line 42 of file Exceptions.h.

◆ ValueErrorException() [2/2]

ValueErrorException::ValueErrorException ( const char *  msg)
inline

Definition at line 44 of file Exceptions.h.

◆ ~ValueErrorException()

ValueErrorException::~ValueErrorException ( )
inlinenoexcept

Definition at line 48 of file Exceptions.h.

Member Function Documentation

◆ message()

const char* ValueErrorException::message ( ) const
inlinenoexcept

Definition at line 47 of file Exceptions.h.

References what().

◆ what()

const char* ValueErrorException::what ( ) const
inlineoverridenoexcept

Definition at line 46 of file Exceptions.h.

Referenced by message().


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