' lserr.lss	Copyright (c) 1994 Lotus Development Corporation

Public Const APISUCCESS                   = 0
Public Const APIErrRETRY                     = 1
Public Const APIErrYIELD                     = 2
Public Const APIErrBREAK                     = 3
Public Const APIErrSTOP                      = 4
Public Const APIErrUSER_BREAK                = 5

'	Api Error Severity Codes

Public Const SevWARNING                   = 1
Public Const SevERROR                     = 2
Public Const SevFATAL                     = 3

'	Client Errors

Public Const APIErrEND                       = 10
Public Const APIErrUSER_ABORT                = 11
Public Const APIErrABORT                     = 12
Public Const APIErrRETURN                    = 13
Public Const APIErrMEMORY                    = 14
Public Const APIErrRESOURCE                  = 15
Public Const APIErrACCESS                    = 16
Public Const APIErrEXISTS                    = 17
Public Const APIErrUNAVAIL                   = 18
Public Const APIErrSYNTAX                    = 19
Public Const APIErrIOERR                     = 20
Public Const APIErrOVERRUN                   = 21
Public Const APIErrSYMREL                    = 22
Public Const APIErrINVALADT                  = 23
Public Const APIErrFILEINVAL                 = 24
Public Const APIErrFILEREV                   = 25
Public Const APIErrCLIENTIO                  = 26
Public Const APIErrOPENERROR                 = 27
Public Const APIErrMODEXISTS                 = 28
Public Const APIErrNOSYMBOL                  = 29
Public Const APIErrLINE                      = 30
Public Const APIErrMODINUSE                  = 31
Public Const APIErrAPIBADARG                 = 32
Public Const APIErrCURSOREND                 = 33
Public Const APIErrCURSORBAD                 = 34
Public Const APIErrCURSOROBJNOTSET           = 35
Public Const APIErrCURSORARRAYNOTDIMED       = 36
Public Const APIErrRUN_BADARG                = 37
Public Const APIErrRUN_ARGCNT                = 38
Public Const APIErrRUN_PARAMTYPE             = 39
Public Const APIErrREG_First                 = 40
Public Const APIErrREG_INVALIDPARENT         = 41
Public Const APIErrREG_FORWARDCLASS          = 42
Public Const APIErrREG_INVALIDCOLLECTION     = 43
Public Const APIErrREG_INVALIDNAME           = 44
Public Const APIErrREG_BADATTRIB             = 45
Public Const APIErrREG_CONTROLPROC           = 46
Public Const APIErrREG_RET_INVALID           = 47
Public Const APIErrREG_ARG_INVALID           = 48
Public Const APIErrREG_ARG_INVALIDFIXED      = 49
Public Const APIErrREG_ARG_INVALIDSTRING     = 50
Public Const APIErrREG_ARG_INVALIDFORWARD    = 51
Public Const APIErrREG_ARG_INVALIDCLASS      = 52
Public Const APIErrREG_ARG_INVALIDOPTIONAL   = 53
Public Const APIErrREG_ARG_INVALIDBYVALCONT  = 54
Public Const APIErrREG_ARG_INVALIDVOID       = 55
Public Const APIErrREG_Last                  = 56
Public Const APIErrENUM_DONE                 = 57
Public Const APIErrDROPPED                   = 58
Public Const APIErrNOQUEUE                   = 59
Public Const APIErrADT_VERSION               = 60
Public Const APIErrREG2_First                = 61
Public Const APIErrREG_ARG_COUNT             = 62
Public Const APIErrREG_Reserved1             = 63
Public Const APIErrREG_Reserved2             = 64
Public Const APIErrREG_Reserved3             = 65
Public Const APIErrREG_Reserved4             = 66
Public Const APIErrREG_Reserved5             = 67
Public Const APIErrREG_Reserved6             = 68
Public Const APIErrREG_Reserved7             = 69
Public Const APIErrREG_Reserved8             = 70
Public Const APIErrREG_Reserved9             = 71
Public Const APIErrREG2_Last                 = 72
Public Const APIErrLAST                      = 72

'	Run Time LOI Errors


'	The following adjust MAC Resource Grouping

Public Const ErrLoiFIRST                     = 13000
Public Const ErrLoiArgOutofRange             = 13001
Public Const ErrLoiBadPropertyName           = 13002
Public Const ErrLoiBadMethodName             = 13003
Public Const ErrLoiInvalidObject             = 13004
Public Const ErrLoiTypeMismatch              = 13005
Public Const ErrLoiInvalidArgument           = 13006
Public Const ErrLoiPrintFailed               = 13007
Public Const ErrLoiCouldNotLaunch            = 13008
Public Const ErrLoiBadCoordinates            = 13009
Public Const ErrLoiFileNotCreated            = 13010
Public Const ErrLoiCouldNotSave              = 13011
Public Const ErrLoiBadExecutable             = 13012
Public Const ErrLoiClipboardEmpty            = 13013
Public Const ErrLoiDocumentReadOnly          = 13014
Public Const ErrLoiBadClipboardFormat        = 13015
Public Const ErrLoiInvocationError           = 13017
Public Const ErrLoiUnknownUnit               = 13018
Public Const ErrLoiInvalidPropertyValue      = 13019
Public Const ErrLoiLAST                      = 13019

'	The following adjust MAC Resource Grouping


'	Run Time Errors

Public Const ErrUSER                      = 1
Public Const ErrReturnWithoutGoSub        = 3
Public Const ErrIllegalFunctionCall       = 5
Public Const ErrOverflow                  = 6
Public Const ErrOutOfMemory               = 7
Public Const ErrSubscriptOutOfRange       = 9
Public Const ErrDivisionByZero            = 11
Public Const ErrTypeMismatch              = 13
Public Const ErrOutOfStringSpace          = 14
Public Const ErrCantContinue              = 17
Public Const ErrNoResume                  = 19
Public Const ErrResumeWithoutError        = 20
Public Const ErrOutOfStackSpace           = 28
Public Const ErrSubOrFunctionNotDefined   = 35
Public Const ErrErrorInLoadingDLL         = 48
Public Const ErrBadDLLCallingConvention   = 49
Public Const ErrInternalError             = 51
Public Const ErrBadFileNameOrNumber       = 52
Public Const ErrFileNotFound              = 53
Public Const ErrBadFileMode               = 54
Public Const ErrFileAlreadyOpen           = 55
Public Const ErrDeviceIOError             = 57
Public Const ErrFileAlreadyExists         = 58
Public Const ErrBadRecordLength           = 59
Public Const ErrDiskFull                  = 61
Public Const ErrInputPastEndOfFile        = 62
Public Const ErrBadRecordNumber           = 63
Public Const ErrBadFileName               = 64
Public Const ErrTooManyFiles              = 67
Public Const ErrDeviceUnavailable         = 68
Public Const ErrPermissionDenied          = 70
Public Const ErrDiskNotReady              = 71
Public Const ErrCantRenameWithDifferent   = 74
Public Const ErrPathFileAccessError       = 75
Public Const ErrPathNotFound              = 76
Public Const ErrObjectVariableNotSet      = 91
Public Const ErrForLoopNotInitialized     = 92
Public Const ErrInvalidPatternString      = 93
Public Const ErrInvalidUseOfNull          = 94
Public Const ErrCannotDestroyActiveInst   = 95
Public Const ErrFileNotWritable           = 96
Public Const ErrFileNotReadable           = 97
Public Const ErrBadFileNumber             = 98
Public Const ErrFileNotOpen               = 99
Public Const ErrConflictingFileModes      = 100
Public Const ErrOpenFailed                = 101
Public Const ErrIllegalOperation          = 102
Public Const ErrDataTooBig                = 103
Public Const ErrBadAttribute              = 104
Public Const ErrCouldNotSetAttribute      = 105
Public Const ErrListItemDoesNotExist      = 120
Public Const ErrLinkNoModule              = 150
Public Const ErrLinkNoSymbol              = 151
Public Const ErrLinkBadSymbol             = 152
Public Const ErrModule_Exist              = 153
Public Const ErrModule_Not_Exist          = 154
Public Const ErrModule_Bad                = 155
Public Const ErrCompile                   = 156
Public Const ErrAdtCtrlFuncNotPresent     = 158
Public Const ErrAdtNamedObjectNonExist    = 159
Public Const ErrAdtUnknownClass           = 160
Public Const ErrAdtHandleChanged          = 161
Public Const ErrCCallBadArg               = 162
Public Const ErrCCallUnsupportedArgType   = 163
Public Const ErrCCallUnsupportedRetType   = 164
Public Const ErrCCallSubUnavail           = 165
Public Const ErrEventNotHooked            = 166
Public Const ErrModuleInUse               = 167
Public Const ErrModuleOverRun             = 168
Public Const ErrNotAListTag               = 169
Public Const ErrRedimFixedArray           = 170
Public Const ErrArraySizeTooBig           = 171
Public Const ErrIllegalLikePattern        = 172
Public Const ErrArgOutOfRange             = 173
Public Const ErrCircularUse               = 174
Public Const ErrDuplicatePublic           = 175
Public Const ErrExprRange                 = 176
Public Const ErrInvalidPowerOprand        = 177
Public Const ErrLinkNoUseModule           = 178

'	Last Of V2 Error Messages ; V3 Error Mesages Start

Public Const ErrUnderflow                 = 179
Public Const ErrNoPlatSupport             = 180
Public Const ErrSuffixTypeMismatch        = 181
Public Const ErrNamedMemberNonExist       = 182
Public Const ErrNotAnObject               = 183
Public Const ErrNotAContainer             = 184
Public Const ErrWrongNumberOfArgs         = 185
Public Const ErrNotAMethod                = 186
Public Const ErrIllegalUseOfSub           = 187
Public Const ErrIllegalUseOfFunction      = 188
Public Const ErrIllegalUseOfProp          = 189
Public Const ErrReadOnlyProp              = 190
Public Const ErrInvalidListIndex          = 191
Public Const ErrInvalidIsElemArg          = 192
Public Const ErrIllegalDelete             = 193
Public Const ErrNotAProductObject         = 194
Public Const ErrNamedEventNonExist        = 195
Public Const ErrEventHandlerArgType       = 196
Public Const ErrEventHandlerArgCnt        = 197
Public Const ErrNotaPublicMember          = 198
Public Const ErrMissingArgument           = 199
Public Const ErrUninitDynArray            = 200
Public Const ErrDisallowed                = 201
Public Const ErrNeedSetAssign             = 202
Public Const ErrCollectItemError          = 203
Public Const ErrCollectionIndex           = 204
Public Const ErrNotACollection            = 205
Public Const ErrCollectionItemNotFound    = 206
Public Const ErrOLEError                  = 207
Public Const ErrOLECantCreate             = 208
Public Const ErrOLEFileName               = 209
Public Const ErrOLEMemberNotFound         = 210
Public Const ErrOLEArgumentCount          = 211
Public Const ErrOLEArgumentType           = 212
Public Const ErrOLEException              = 213
Public Const ErrForallSource              = 214
Public Const ErrOutOfSysStack             = 215
Public Const ErrIllegalRedim              = 216
Public Const ErrAdtCreateError            = 217
Public Const ErrAdtPropertyError          = 218
Public Const ErrAdtMethodError            = 219
Public Const ErrAdtError                  = 220
Public Const ErrEvaluateError             = 221
Public Const ErrEventHandlerRetType       = 222
Public Const ErrEventHandlerProcType      = 223
Public Const ErrWrongNumberOfArgsProp     = 224
Public Const ErrIllegalUseOfMember        = 225
Public Const ErrPropSetNotDefined         = 226
Public Const ErrPropGetNotDefined         = 227
Public Const ErrStringTooLarge            = 228
Public Const ErrReadOnlyVariable          = 229
Public Const ErrUnknownClassId            = 230
Public Const ErrCollectItemAssign         = 231
Public Const ErrWrongNumDims              = 232
Public Const ErrLAST                      = 232
