19 #ifndef TESSERACT_CCUTIL_LSTERR_H_
20 #define TESSERACT_CCUTIL_LSTERR_H_
25 "Can't create a list by assignment");
40 "Attempting to add an element with non nullptr links, to a list");
constexpr ERRCODE NULL_OBJECT("List found this = nullptr!")
constexpr ERRCODE SERIALISE_LINKS("Attempted to (de)serialise a link element")
constexpr ERRCODE DONT_CONSTRUCT_LIST_BY_COPY("Can't create a list by assignment")
constexpr ERRCODE NULL_DATA("List would have returned a nullptr data pointer")
constexpr ERRCODE BAD_PARAMETER("List parameter error")
constexpr ERRCODE NULL_NEXT("Next element on the list is nullptr")
constexpr ERRCODE STILL_LINKED("Attempting to add an element with non nullptr links, to a list")
constexpr ERRCODE NO_LIST("Iterator not set to a list")
constexpr ERRCODE DONT_ASSIGN_LISTS("Can't assign to lists")
constexpr ERRCODE EMPTY_LIST("List is empty")
constexpr ERRCODE NULL_PREV("Previous element on the list is nullptr")
constexpr ERRCODE NULL_CURRENT("List current position is nullptr")