00001
00020 #include "errcode.h"
00021
00022 #ifndef LSTERR_H
00023 #define LSTERR_H
00024
00025 const ERRCODE DONT_CONSTRUCT_LIST_BY_COPY =
00026 "Can't create a list by assignment";
00027 const ERRCODE DONT_ASSIGN_LISTS = "Can't assign to lists";
00028 const ERRCODE SERIALISE_LINKS = "Attempted to (de)serialise a link element";
00029
00030 #ifdef _DEBUG
00031
00032 const ERRCODE NO_LIST = "Iterator not set to a list";
00033 const ERRCODE NULL_OBJECT = "List found this = NULL!";
00034 const ERRCODE NULL_DATA = "List would have returned a NULL data pointer";
00035 const ERRCODE NULL_CURRENT = "List current position is NULL";
00036 const ERRCODE NULL_NEXT = "Next element on the list is NULL";
00037 const ERRCODE NULL_PREV = "Previous element on the list is NULL";
00038 const ERRCODE EMPTY_LIST = "List is empty";
00039 const ERRCODE BAD_PARAMETER = "List parameter error";
00040 const ERRCODE STILL_LINKED =
00041 "Attemting to add an element with non NULL links, to a list";
00042 #endif
00043 #endif