Class TitleIndexingError

Inheritance Relationships

Base Type

Class Documentation

class TitleIndexingError : public zim::CreatorError

Exception thrown when there are problems indexing a title.

In the current implementation, the only situation deliberately targeted by this type of error is when the title appears to contain a word that exceeds the limit on the longest indexable word (as defined by MAX_INDEXABLE_TITLE_WORD_SIZE in src/constants.h) but - due to hacky implementation - titles containing too much whitespace and/or punctuation may also trigger this error.

Public Functions

inline explicit TitleIndexingError(const std::string &message)