Improve exception message for removing empty term
commit69c90012f523b102d8395a40f2227c328a1ab0a9
authorOlly Betts <olly@survex.com>
Tue, 31 May 2022 22:39:40 +0000 (1 10:39 +1200)
committerOlly Betts <olly@survex.com>
Tue, 31 May 2022 22:39:40 +0000 (1 10:39 +1200)
tree6c1d85c840d5a4bad0c2973cd18df440d806f4d3
parenta95a7237714dbb47c74f979f9ad0d8fa97f70e55
Improve exception message for removing empty term

The exception type is still InvalidArgumentError but the message is
now "Empty termnames are invalid" instead of the old message
"Term '' is not present in document, [...]".  The code on git master
already reports the new message.

Reported by David Bremner.
xapian-core/api/omdocument.cc