from gta_error_codes import GtaErrorCodes

GTA_ERROR_DICT = {
   0 : GtaErrorCodes.GtaOk,
   1 : GtaErrorCodes.GtaInvalidParam,
   2 : GtaErrorCodes.GtaInvalidParamCustom,
   3 : GtaErrorCodes.GtaTooFewParams,
   4 : GtaErrorCodes.GtaTooManyParams,
   5 : GtaErrorCodes.GtaCheckHelp,
   6 : GtaErrorCodes.GtaMemAllocErr,
   7 : GtaErrorCodes.GtaOutOfBounds,
   8 : GtaErrorCodes.GtaBuffTooSmall,
   9 : GtaErrorCodes.GtaBuffTooBig,
   10 : GtaErrorCodes.GtaBuffOverflow,
   11 : GtaErrorCodes.GtaBuffDecodeError,
   12 : GtaErrorCodes.GtaBuffEncodeError,
   13 : GtaErrorCodes.GtaSockLibError,
   14 : GtaErrorCodes.GtaBadPathName,
   15 : GtaErrorCodes.GtaStartProcessErr,
   16 : GtaErrorCodes.GtaStopProcessErr,
   17 : GtaErrorCodes.GtaPropNotFound,
   18 : GtaErrorCodes.GtaOptionErr,
   19 : GtaErrorCodes.GtaUnsupportedCmd,
   20 : GtaErrorCodes.GtaEndOfOptionsErr,
   21 : GtaErrorCodes.GtaUnknownService,
   22 : GtaErrorCodes.GtaSocketErr,
   23 : GtaErrorCodes.GtaInvalidParamErr,
   24 : GtaErrorCodes.GtaUnknownProviderErr,
   25 : GtaErrorCodes.GtaConnClosedByPeer,
   26 : GtaErrorCodes.GtaConnTimedout,
   27 : GtaErrorCodes.GtaPollTimedout,
   28 : GtaErrorCodes.GtaConnAborted,
   29 : GtaErrorCodes.GtaConnReset,
   30 : GtaErrorCodes.GtaConnReadErr,
   31 : GtaErrorCodes.GtaConnWouldblock,
   32 : GtaErrorCodes.GtaConnShutdownErr,
   33 : GtaErrorCodes.GtaConnStateErr,
   34 : GtaErrorCodes.GtaInternalServerErr,
   35 : GtaErrorCodes.GtaAddrInUseErr,
   36 : GtaErrorCodes.GtaRspPacketParseErr,
   37 : GtaErrorCodes.GtaRspCommandParseErr,
   38 : GtaErrorCodes.GtaLibErr,
   39 : GtaErrorCodes.GtaLibNoLibrary,
   40 : GtaErrorCodes.GtaLibNoSymbol,
   41 : GtaErrorCodes.GtaDddXmlParseErr,
   42 : GtaErrorCodes.GtaDddInternalErr,
   43 : GtaErrorCodes.GtaDddNotFoundErr,
   44 : GtaErrorCodes.GtaDddDuplicateEntry,
   45 : GtaErrorCodes.GtaDddAccessErr,
   46 : GtaErrorCodes.GtaDddCreateGdbDatafileErr,
   47 : GtaErrorCodes.GtaLogDestExistErr,
   48 : GtaErrorCodes.GtaLogCommandErr,
   49 : GtaErrorCodes.GtaDbgNoCurrentThread,
   50 : GtaErrorCodes.GtaCustMemArgErr,
   51 : GtaErrorCodes.GtaCustMemCtxErr,
   52 : GtaErrorCodes.GtaDiscoveryArgErr,
   53 : GtaErrorCodes.GtaDiscoveryFindccErr,
   54 : GtaErrorCodes.GtaDiscoveryScanchainErr,
   55 : GtaErrorCodes.GtaLicenseInitializationErr,
   56 : GtaErrorCodes.GtaLicenseArgErr,
   57 : GtaErrorCodes.GtaLicenseCheckinErr ,
   58 : GtaErrorCodes.GtaLicenseCheckoutErr,
   59 : GtaErrorCodes.GtaResetMonArgErr,
   60 : GtaErrorCodes.GtaMonRegArgErr,
   61 : GtaErrorCodes.GtaMonRegCtxErr,
   62 : GtaErrorCodes.GtaTemplateConfigArgErr,
   63 : GtaErrorCodes.GtaTemplateConfigCtxErr,
   64 : GtaErrorCodes.GtaDirOpenErr,
   65 : GtaErrorCodes.GtaDirCloseErr,
   66 : GtaErrorCodes.GtaCtxSpecifyPropValue,
   67 : GtaErrorCodes.GtaCtxNotEnabled,
   68 : GtaErrorCodes.GtaCtxUknProp,
   69 : GtaErrorCodes.GtaCtxNoDebug,
   70 : GtaErrorCodes.GtaNewCtxErr,
   71 : GtaErrorCodes.GtaCtxNoFoundErr,
   72 : GtaErrorCodes.GtaRcCmdErr,
   73 : GtaErrorCodes.GtaSocNotConnected,
   74 : GtaErrorCodes.GtaResetFailed,
   75 : GtaErrorCodes.GtaFileioUnsupportedCmd,
   76 : GtaErrorCodes.GtaDebugSessionUnstable,
   77 : GtaErrorCodes.GtaLoadMesgErr,
   78 : GtaErrorCodes.GtaWriteMemErr,
   79 : GtaErrorCodes.GtaReadMemErr,
   80 : GtaErrorCodes.GtaCoreHandleErr,
   81 : GtaErrorCodes.GtaRegValueErr,
   82 : GtaErrorCodes.GtaWriteRegErr,
   83 : GtaErrorCodes.GtaReadRegErr,
}