Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
3.1 KiB

  1. // Please Note: these values are mirrored in dtguiapi.bas, please keep in sync
  2. DEF_ERROR(OK, 0, "no error")
  3. DEF_ERROR(NotInitialized, 1001, "inference engine was not initialized")
  4. DEF_ERROR(AlreadyInitialized, 1002, "inference engine was already initialized")
  5. DEF_ERROR(NoModel, 1003, "no model was yet specified")
  6. DEF_ERROR(Memory, 1004, "could not allocate enough memory")
  7. DEF_ERROR(FileOpen, 1005, "could not open file")
  8. DEF_ERROR(FileRead, 1006, "could not read file")
  9. DEF_ERROR(FileWrite, 1007, "could not write file")
  10. DEF_ERROR(FileSignature, 1008, "file has incorrect signature")
  11. DEF_ERROR(NotRegistered, 1010, "calling task is not registered")
  12. DEF_ERROR(NoInput, 1011, "no input file specified on command line")
  13. DEF_ERROR(OutOfRange, 1017, "value is out of range")
  14. DEF_ERROR(InvalidKszid, 1018, "incorrect 'kind of string' value")
  15. DEF_ERROR(FunctionNotAvailable, 1019, "function not available in this version")
  16. DEF_ERROR(DdeConnectFailure, 1040, "unable to connect to DDE server")
  17. DEF_ERROR(DdeItemFailure, 1041, "error fetching requested DDE item")
  18. DEF_ERROR(InapplicableModel, 1042, "operation cannot be applied to this model")
  19. DEF_ERROR(InvalidModel, 1043, "model is incomplete or invalid for this operation")
  20. DEF_ERROR(FixableAbnormal, 1044, "at least one fixable node is abnormal")
  21. DEF_ERROR(MTOProbDefAbnormal, 1045, "one problem defining node must be abnormal")
  22. DEF_ERROR(NoHypoNode, 1046, "no hypothesis node")
  23. DEF_ERROR(NoChange, 2001, "state of engine did not change")
  24. DEF_ERROR(NotInfoNode, 2002, "not an informational variable")
  25. DEF_ERROR(MandatoryLeft, 2003, "not all mandatory nodes have been instantiated yet")
  26. DEF_ERROR(UnsetMandatory, 2004, "mandatory nodes cannot be uninstantiated")
  27. DEF_ERROR(ServiceHasNoProb, 2005, "service node has no associated probabilities")
  28. DEF_ERROR(ModelNotSF, 2010, "loaded model is not a single-fault model")
  29. DEF_ERROR(NoNodesWithLabel, 2011, "no nodes with specified label exist")
  30. DEF_ERROR(InvalidSymbol, 2051, "invalid symbolic name")
  31. DEF_ERROR(RegisterClass, 3001, "RegisterClass failed")
  32. DEF_ERROR(CreateWindow, 3002, "CreateWindow failed")
  33. DEF_ERROR(TcbidNotFound, 3003, "Unknown training card button")
  34. DEF_ERROR(FuncArgCount, 5001, "function invocation argument count error")
  35. DEF_ERROR(FuncArgType, 5002, "function argument type error")
  36. DEF_ERROR(SyntaxError, 5003, "Syntax error in DSC/DSF file")
  37. DEF_ERROR(FileType, 5004, "Only formula declarations allowed in DSF file")
  38. DEF_ERROR(InvalidSymbolType, 5005, "Symbol type incorrect or conflicts with existing symbol")
  39. DEF_ERROR(FuncOrNodeRef, 5006, "invalid function or node reference")
  40. DEF_ERROR(MandNodeHasParents, 5021, "mandatory node(s) with parents detected")
  41. DEF_ERROR(ZeroDivide, 5051, "attempt to divide by zero")
  42. DEF_ERROR(CreatesCycle, 5052, "arc creates a cycle" )
  43. DEF_ERROR(UnsupportedAction, 5053, "that action is not yet supported")
  44. DEF_ERROR(DuplicateItem, 5054, "duplicate item")
  45. DEF_ERROR(DistNotPositive, 6001, "the distribution is not positive")
  46. DEF_ERROR(NoMode, 6002, "no mode")
  47. DEF_ERROR(NegativeDeterminant, 6003, "Negative Determinant")
  48. DEF_ERROR(NYI, 9999, "option is not yet implemented")