22 KeyError(
const std::string&
key,
const std::string& file,
unsigned line,
23 const std::string& message)
26 std::string(
"Key \"") +
key +
"\" not found. " + message),
33 const std::string&
key()
const throw() {
return key_; }
Requested dictionary key is not found.
KeyError(const std::string &key, const std::string &file, unsigned line, const std::string &message)
Create a key error.
~KeyError()
Empty destructor.
const std::string & key() const
Key that was not found.
Error with file and line references to the calling code.
Exceptions raised by the library.