21 TypeError(
const std::string& file,
unsigned line,
const std::string& message)
Error with file and line references to the calling code.
Requested type doesn't match the one already in the dictionary.
TypeError(const TypeError &other, const std::string &extra_message)
Copy an existing error, adding to the error message.
~TypeError()
Empty destructor.
TypeError(const std::string &file, unsigned line, const std::string &message)
Create a type error.
Exceptions raised by the library.