9typedef unsigned short errorT;
21 ERROR_FileWrite = 102,
25 ERROR_FileNotOpen = 106,
26 ERROR_FileInUse = 107,
28 ERROR_FileVersion = 109,
29 ERROR_OldScidVersion = 110,
30 ERROR_FileReadOnly = 111,
31 ERROR_CompactRemove = 121,
34 ERROR_MallocFailed = 151,
35 ERROR_CorruptData = 152, ERROR_Corrupt = 152,
39 ERROR_NameNotFound = 202, ERROR_NotFound = 202,
40 ERROR_NameExists = 203, ERROR_Exists = 203,
41 ERROR_NameBaseEmpty = 204, ERROR_Empty = 204,
42 ERROR_NoMatchFound = 205,
43 ERROR_NameDataLoss = 206,
44 ERROR_NameTooLong = 207,
45 ERROR_NameLimit = 208,
46 ERROR_OffsetLimit = 209,
47 ERROR_GameLengthLimit= 210,
48 ERROR_NumGamesLimit = 211,
51 ERROR_InvalidFEN = 301,
52 ERROR_InvalidMove = 302,
53 ERROR_PieceCount = 303,
57 ERROR_EndOfMoveList = 401,
58 ERROR_StartOfMoveList = 402,
59 ERROR_NoVariation = 403,
60 ERROR_EmptyVariation = 404,
61 ERROR_VariationLimit = 405,
66 ERROR_BufferFull = 601,
67 ERROR_BufferRead = 602,
70 ERROR_CodecUnsupFeat = 701,
71 ERROR_CodecChess960 = 702;
74static_assert(OK ==
false);