errors.js 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552
  1. /* eslint-disable max-len */
  2. var errors = {}
  3. errors[25121] = new Error('missing arguments')
  4. errors[25121].code = 25121
  5. errors[25122] = new Error('unsupported hive')
  6. errors[25122].code = 25122
  7. errors[25123] = new Error('expected to have groups of 4 arguments for each value that is written to the registry')
  8. errors[25123].code = 25123
  9. errors[25124] = new Error('missing or invalid architecture from arguments, use "A" (agnostic), "S" (specific), "32" or "64"')
  10. errors[25124].code = 25124
  11. errors[25125] = new Error('missing OSArchitecture global. Forgot to load util.vbs? submit an issue asap with steps to recreate')
  12. errors[25125].code = 25125
  13. errors[25126] = new Error('invalid os architecture detected')
  14. errors[25126].code = 25126
  15. errors[25127] = new Error('empty line written to vbscript stdin')
  16. errors[25127].code = 25127
  17. //TODO: this is an error that is caused by trying to create a registry key somewhere I dont have permissions to
  18. // where is the reference for these codes....???
  19. errors[5] = new Error('access is denied')
  20. errors[5].code = 5
  21. errors[2] = new Error('registry path does not exist')
  22. errors[2].code = 2
  23. // *** generated errors ***//
  24. var e0 = new Error('wbemErrFailed')
  25. e0.description = 'The call failed.'
  26. e0.code = 2147749889
  27. errors[2147749889] = e0
  28. var e1 = new Error('wbemErrNotFound')
  29. e1.description = 'The object could not be found.'
  30. e1.code = 2147749890
  31. errors[2147749890] = e1
  32. var e2 = new Error('wbemErrAccessDenied')
  33. e2.description = 'The current user does not have permission to perform the action.'
  34. e2.code = 2147749891
  35. errors[2147749891] = e2
  36. var e3 = new Error('wbemErrProviderFailure')
  37. e3.description = 'The provider has failed at some time other than during initialization.'
  38. e3.code = 2147749892
  39. errors[2147749892] = e3
  40. var e4 = new Error('wbemErrTypeMismatch')
  41. e4.description = 'A type mismatch occurred.'
  42. e4.code = 2147749893
  43. errors[2147749893] = e4
  44. var e5 = new Error('wbemErrOutOfMemory')
  45. e5.description = 'There was not enough memory for the operation.'
  46. e5.code = 2147749894
  47. errors[2147749894] = e5
  48. var e6 = new Error('wbemErrInvalidContext')
  49. e6.description = 'The SWbemNamedValue object is not valid.'
  50. e6.code = 2147749895
  51. errors[2147749895] = e6
  52. var e7 = new Error('wbemErrInvalidParameter')
  53. e7.description = 'One of the parameters to the call is not correct.'
  54. e7.code = 2147749896
  55. errors[2147749896] = e7
  56. var e8 = new Error('wbemErrNotAvailable')
  57. e8.description = 'The resource, typically a remote server, is not currently available.'
  58. e8.code = 2147749897
  59. errors[2147749897] = e8
  60. var e9 = new Error('wbemErrCriticalError')
  61. e9.description = 'An internal, critical, and unexpected error occurred. Report this error to Microsoft Technical Support.'
  62. e9.code = 2147749898
  63. errors[2147749898] = e9
  64. var e10 = new Error('wbemErrInvalidStream')
  65. e10.description = 'One or more network packets were corrupted during a remote session.'
  66. e10.code = 2147749899
  67. errors[2147749899] = e10
  68. var e11 = new Error('wbemErrNotSupported')
  69. e11.description = 'The feature or operation is not supported.'
  70. e11.code = 2147749900
  71. errors[2147749900] = e11
  72. var e12 = new Error('wbemErrInvalidSuperclass')
  73. e12.description = 'The parent class specified is not valid.'
  74. e12.code = 2147749901
  75. errors[2147749901] = e12
  76. var e13 = new Error('wbemErrInvalidNamespace')
  77. e13.description = 'The namespace specified could not be found.'
  78. e13.code = 2147749902
  79. errors[2147749902] = e13
  80. var e14 = new Error('wbemErrInvalidObject')
  81. e14.description = 'The specified instance is not valid.'
  82. e14.code = 2147749903
  83. errors[2147749903] = e14
  84. var e15 = new Error('wbemErrInvalidClass')
  85. e15.description = 'The specified class is not valid.'
  86. e15.code = 2147749904
  87. errors[2147749904] = e15
  88. var e16 = new Error('wbemErrProviderNotFound')
  89. e16.description = 'A provider referenced in the schema does not have a corresponding registration.'
  90. e16.code = 2147749905
  91. errors[2147749905] = e16
  92. var e17 = new Error('wbemErrInvalidProviderRegistration')
  93. e17.description = 'A provider referenced in the schema has an incorrect or incomplete registration. This error may be caused by a missing pragma namespace command in the MOF file used to register the provider, resulting in the provider being registered in the wrong WMI namespace. This error may also be caused by a corrupt repository, which may be fixed by deleting it and recompiling the MOF files.'
  94. e17.code = 2147749906
  95. errors[2147749906] = e17
  96. var e18 = new Error('wbemErrProviderLoadFailure')
  97. e18.description = 'COM cannot locate a provider referenced in the schema. This error may be caused by any of the following:'
  98. e18.code = 2147749907
  99. errors[2147749907] = e18
  100. var e19 = new Error('wbemErrInitializationFailure')
  101. e19.description = 'A component, such as a provider, failed to initialize for internal reasons.'
  102. e19.code = 2147749908
  103. errors[2147749908] = e19
  104. var e20 = new Error('wbemErrTransportFailure')
  105. e20.description = 'A networking error occurred, preventing normal operation.'
  106. e20.code = 2147749909
  107. errors[2147749909] = e20
  108. var e21 = new Error('wbemErrInvalidOperation')
  109. e21.description = 'The requested operation is not valid. This error usually applies to invalid attempts to delete classes or properties.'
  110. e21.code = 2147749910
  111. errors[2147749910] = e21
  112. var e22 = new Error('wbemErrInvalidQuery')
  113. e22.description = 'The requested operation is not valid. This error usually applies to invalid attempts to delete classes or properties.'
  114. e22.code = 2147749911
  115. errors[2147749911] = e22
  116. var e23 = new Error('wbemErrInvalidQueryType')
  117. e23.description = 'The requested query language is not supported.'
  118. e23.code = 2147749912
  119. errors[2147749912] = e23
  120. var e24 = new Error('wbemErrAlreadyExists')
  121. e24.description = 'In a put operation, the wbemChangeFlagCreateOnly flag was specified, but the instance already exists.'
  122. e24.code = 2147749913
  123. errors[2147749913] = e24
  124. var e25 = new Error('wbemErrOverrideNotAllowed')
  125. e25.description = 'It is not possible to perform the add operation on this qualifier because the owning object does not permit overrides.'
  126. e25.code = 2147749914
  127. errors[2147749914] = e25
  128. var e26 = new Error('wbemErrPropagatedQualifier')
  129. e26.description = 'The user attempted to delete a qualifier that was not owned. The qualifier was inherited from a parent class.'
  130. e26.code = 2147749915
  131. errors[2147749915] = e26
  132. var e27 = new Error('wbemErrPropagatedProperty')
  133. e27.description = 'The user attempted to delete a property that was not owned. The property was inherited from a parent class.'
  134. e27.code = 2147749916
  135. errors[2147749916] = e27
  136. var e28 = new Error('wbemErrUnexpected')
  137. e28.description = 'The client made an unexpected and illegal sequence of calls, such as calling EndEnumeration before calling BeginEnumeration.'
  138. e28.code = 2147749917
  139. errors[2147749917] = e28
  140. var e29 = new Error('wbemErrIllegalOperation')
  141. e29.description = 'The user requested an illegal operation, such as spawning a class from an instance.'
  142. e29.code = 2147749918
  143. errors[2147749918] = e29
  144. var e30 = new Error('wbemErrCannotBeKey')
  145. e30.description = 'There was an illegal attempt to specify a key qualifier on a property that cannot be a key. The keys are specified in the class definition for an object, and cannot be altered on a per-instance basis.'
  146. e30.code = 2147749919
  147. errors[2147749919] = e30
  148. var e31 = new Error('wbemErrIncompleteClass')
  149. e31.description = 'The current object is not a valid class definition. Either it is incomplete, or it has not been registered with WMI using SWbemObject.Put_.'
  150. e31.code = 2147749920
  151. errors[2147749920] = e31
  152. var e32 = new Error('wbemErrInvalidSyntax')
  153. e32.description = 'The syntax of an input parameter is incorrect for the applicable data structure. For example, when a CIM datetime structure does not have the correct format when passed to SWbemDateTime.SetFileTime.'
  154. e32.code = 2147749921
  155. errors[2147749921] = e32
  156. var e33 = new Error('wbemErrNondecoratedObject')
  157. e33.description = 'Reserved for future use.'
  158. e33.code = 2147749922
  159. errors[2147749922] = e33
  160. var e34 = new Error('wbemErrReadOnly')
  161. e34.description = 'The property that you are attempting to modify is read-only.'
  162. e34.code = 2147749923
  163. errors[2147749923] = e34
  164. var e35 = new Error('wbemErrProviderNotCapable')
  165. e35.description = 'The provider cannot perform the requested operation. This would include a query that is too complex, retrieving an instance, creating or updating a class, deleting a class, or enumerating a class.'
  166. e35.code = 2147749924
  167. errors[2147749924] = e35
  168. var e36 = new Error('wbemErrClassHasChildren')
  169. e36.description = 'An attempt was made to make a change that would invalidate a subclass.'
  170. e36.code = 2147749925
  171. errors[2147749925] = e36
  172. var e37 = new Error('wbemErrClassHasInstances')
  173. e37.description = 'An attempt has been made to delete or modify a class that has instances.'
  174. e37.code = 2147749926
  175. errors[2147749926] = e37
  176. var e38 = new Error('wbemErrQueryNotImplemented')
  177. e38.description = 'Reserved for future use.'
  178. e38.code = 2147749927
  179. errors[2147749927] = e38
  180. var e39 = new Error('wbemErrIllegalNull')
  181. e39.description = 'A value of Nothing was specified for a property that may not be Nothing, such as one that is marked by a Key, Indexed, or Not_Null qualifier.'
  182. e39.code = 2147749928
  183. errors[2147749928] = e39
  184. var e40 = new Error('wbemErrInvalidQualifierType')
  185. e40.description = 'The CIM type specified for a property is not valid.'
  186. e40.code = 2147749929
  187. errors[2147749929] = e40
  188. var e41 = new Error('wbemErrInvalidPropertyType')
  189. e41.description = 'The CIM type specified for a property is not valid.'
  190. e41.code = 2147749930
  191. errors[2147749930] = e41
  192. var e42 = new Error('wbemErrValueOutOfRange')
  193. e42.description = 'The request was made with an out-of-range value, or is incompatible with the type.'
  194. e42.code = 2147749931
  195. errors[2147749931] = e42
  196. var e43 = new Error('wbemErrCannotBeSingleton')
  197. e43.description = 'An illegal attempt was made to make a class singleton, such as when the class is derived from a non-singleton class.'
  198. e43.code = 2147749932
  199. errors[2147749932] = e43
  200. var e44 = new Error('wbemErrInvalidCimType')
  201. e44.description = 'The CIM type specified is not valid.'
  202. e44.code = 2147749933
  203. errors[2147749933] = e44
  204. var e45 = new Error('wbemErrInvalidMethod')
  205. e45.description = 'The requested method is not available.'
  206. e45.code = 2147749934
  207. errors[2147749934] = e45
  208. var e46 = new Error('wbemErrInvalidMethodParameters')
  209. e46.description = 'The parameters provided for the method are not valid.'
  210. e46.code = 2147749935
  211. errors[2147749935] = e46
  212. var e47 = new Error('wbemErrSystemProperty')
  213. e47.description = 'There was an attempt to get qualifiers on a system property.'
  214. e47.code = 2147749936
  215. errors[2147749936] = e47
  216. var e48 = new Error('wbemErrInvalidProperty')
  217. e48.description = 'The property type is not recognized.'
  218. e48.code = 2147749937
  219. errors[2147749937] = e48
  220. var e49 = new Error('wbemErrCallCancelled')
  221. e49.description = 'An asynchronous process has been canceled internally or by the user. Note that due to the timing and nature of the asynchronous operation the operation may not have been truly canceled.'
  222. e49.code = 2147749938
  223. errors[2147749938] = e49
  224. var e50 = new Error('wbemErrShuttingDown')
  225. e50.description = 'The user has requested an operation while WMI is in the process of shutting down.'
  226. e50.code = 2147749939
  227. errors[2147749939] = e50
  228. var e51 = new Error('wbemErrPropagatedMethod')
  229. e51.description = 'An attempt was made to reuse an existing method name from a parent class, and the signatures did not match.'
  230. e51.code = 2147749940
  231. errors[2147749940] = e51
  232. var e52 = new Error('wbemErrUnsupportedParameter')
  233. e52.description = 'One or more parameter values, such as a query text, is too complex or unsupported. WMI is therefore requested to retry the operation with simpler parameters.'
  234. e52.code = 2147749941
  235. errors[2147749941] = e52
  236. var e53 = new Error('wbemErrMissingParameter')
  237. e53.description = 'A parameter was missing from the method call.'
  238. e53.code = 2147749942
  239. errors[2147749942] = e53
  240. var e54 = new Error('wbemErrInvalidParameterId')
  241. e54.description = 'A method parameter has an ID qualifier that is not valid.'
  242. e54.code = 2147749943
  243. errors[2147749943] = e54
  244. var e55 = new Error('wbemErrNonConsecutiveParameterIds')
  245. e55.description = 'One or more of the method parameters have ID qualifiers that are out of sequence.'
  246. e55.code = 2147749944
  247. errors[2147749944] = e55
  248. var e56 = new Error('wbemErrParameterIdOnRetval')
  249. e56.description = 'The return value for a method has an ID qualifier.'
  250. e56.code = 2147749945
  251. errors[2147749945] = e56
  252. var e57 = new Error('wbemErrInvalidObjectPath')
  253. e57.description = 'The specified object path was not valid.'
  254. e57.code = 2147749946
  255. errors[2147749946] = e57
  256. var e58 = new Error('wbemErrOutOfDiskSpace')
  257. e58.description = 'Windows Server 2003: Disk is out of space or the 4 GB limit on WMI repository (CIM repository) size is reached.'
  258. e58.code = 2147749947
  259. errors[2147749947] = e58
  260. var e59 = new Error('wbemErrBufferTooSmall')
  261. e59.description = 'The supplied buffer was too small to hold all the objects in the enumerator or to read a string property.'
  262. e59.code = 2147749948
  263. errors[2147749948] = e59
  264. var e60 = new Error('wbemErrUnsupportedPutExtension')
  265. e60.description = 'The provider does not support the requested put operation.'
  266. e60.code = 2147749949
  267. errors[2147749949] = e60
  268. var e61 = new Error('wbemErrUnknownObjectType')
  269. e61.description = 'An object with an incorrect type or version was encountered during marshaling.'
  270. e61.code = 2147749950
  271. errors[2147749950] = e61
  272. var e62 = new Error('wbemErrUnknownPacketType')
  273. e62.description = 'A packet with an incorrect type or version was encountered during marshaling.'
  274. e62.code = 2147749951
  275. errors[2147749951] = e62
  276. var e63 = new Error('wbemErrMarshalVersionMismatch')
  277. e63.description = 'The packet has an unsupported version.'
  278. e63.code = 2147749952
  279. errors[2147749952] = e63
  280. var e64 = new Error('wbemErrMarshalInvalidSignature')
  281. e64.description = 'The packet appears to be corrupted.'
  282. e64.code = 2147749953
  283. errors[2147749953] = e64
  284. var e65 = new Error('wbemErrInvalidQualifier')
  285. e65.description = 'An attempt has been made to mismatch qualifiers, such as putting [key] on an object instead of a property.'
  286. e65.code = 2147749954
  287. errors[2147749954] = e65
  288. var e66 = new Error('wbemErrInvalidDuplicateParameter')
  289. e66.description = 'A duplicate parameter has been declared in a CIM method.'
  290. e66.code = 2147749955
  291. errors[2147749955] = e66
  292. var e67 = new Error('wbemErrTooMuchData')
  293. e67.description = 'Reserved for future use.'
  294. e67.code = 2147749956
  295. errors[2147749956] = e67
  296. var e68 = new Error('wbemErrServerTooBusy')
  297. e68.description = 'A call to IWbemObjectSink::Indicate has failed. The provider may choose to refire the event.'
  298. e68.code = 2147749957
  299. errors[2147749957] = e68
  300. var e69 = new Error('wbemErrInvalidFlavor')
  301. e69.description = 'The specified flavor was not valid.'
  302. e69.code = 2147749958
  303. errors[2147749958] = e69
  304. var e70 = new Error('wbemErrCircularReference')
  305. e70.description = 'An attempt has been made to create a reference that is circular (for example, deriving a class from itself).'
  306. e70.code = 2147749959
  307. errors[2147749959] = e70
  308. var e71 = new Error('wbemErrUnsupportedClassUpdate')
  309. e71.description = 'The specified class is not supported.'
  310. e71.code = 2147749960
  311. errors[2147749960] = e71
  312. var e72 = new Error('wbemErrCannotChangeKeyInheritance')
  313. e72.description = 'An attempt was made to change a key when instances or subclasses are already using the key.'
  314. e72.code = 2147749961
  315. errors[2147749961] = e72
  316. var e73 = new Error('wbemErrCannotChangeIndexInheritance')
  317. e73.description = 'An attempt was made to change an index when instances or subclasses are already using the index.'
  318. e73.code = 2147749968
  319. errors[2147749968] = e73
  320. var e74 = new Error('wbemErrTooManyProperties')
  321. e74.description = 'An attempt was made to create more properties than the current version of the class supports.'
  322. e74.code = 2147749969
  323. errors[2147749969] = e74
  324. var e75 = new Error('wbemErrUpdateTypeMismatch')
  325. e75.description = 'A property was redefined with a conflicting type in a derived class.'
  326. e75.code = 2147749970
  327. errors[2147749970] = e75
  328. var e76 = new Error('wbemErrUpdateOverrideNotAllowed')
  329. e76.description = 'An attempt was made in a derived class to override a non-overrideable qualifier.'
  330. e76.code = 2147749971
  331. errors[2147749971] = e76
  332. var e77 = new Error('wbemErrUpdatePropagatedMethod')
  333. e77.description = 'A method was redeclared with a conflicting signature in a derived class.'
  334. e77.code = 2147749972
  335. errors[2147749972] = e77
  336. var e78 = new Error('wbemErrMethodNotImplemented')
  337. e78.description = 'An attempt was made to execute a method not marked with [implemented] in any relevant class.'
  338. e78.code = 2147749973
  339. errors[2147749973] = e78
  340. var e79 = new Error('wbemErrMethodDisabled')
  341. e79.description = 'An attempt was made to execute a method marked with [disabled].'
  342. e79.code = 2147749974
  343. errors[2147749974] = e79
  344. var e80 = new Error('wbemErrRefresherBusy')
  345. e80.description = 'The refresher is busy with another operation.'
  346. e80.code = 2147749975
  347. errors[2147749975] = e80
  348. var e81 = new Error('wbemErrUnparsableQuery')
  349. e81.description = 'The filtering query is syntactically not valid.'
  350. e81.code = 2147749976
  351. errors[2147749976] = e81
  352. var e82 = new Error('wbemErrNotEventClass')
  353. e82.description = 'The FROM clause of a filtering query references a class that is not an event class (not derived from __Event).'
  354. e82.code = 2147749977
  355. errors[2147749977] = e82
  356. var e83 = new Error('wbemErrMissingGroupWithin')
  357. e83.description = 'A GROUP BY clause was used without the corresponding GROUP WITHIN clause.'
  358. e83.code = 2147749978
  359. errors[2147749978] = e83
  360. var e84 = new Error('wbemErrMissingAggregationList')
  361. e84.description = 'A GROUP BY clause was used. Aggregation on all properties is not supported.'
  362. e84.code = 2147749979
  363. errors[2147749979] = e84
  364. var e85 = new Error('wbemErrPropertyNotAnObject')
  365. e85.description = 'Dot notation was used on a property that is not an embedded object.'
  366. e85.code = 2147749980
  367. errors[2147749980] = e85
  368. var e86 = new Error('wbemErrAggregatingByObject')
  369. e86.description = 'A GROUP BY clause references a property that is an embedded object without using dot notation.'
  370. e86.code = 2147749981
  371. errors[2147749981] = e86
  372. var e87 = new Error('wbemErrUninterpretableProviderQuery')
  373. e87.description = 'An event provider registration query ( __EventProviderRegistration) did not specify the classes for which events were provided.'
  374. e87.code = 2147749983
  375. errors[2147749983] = e87
  376. var e88 = new Error('wbemErrBackupRestoreWinmgmtRunning')
  377. e88.description = 'An request was made to back up or restore the repository while WMI was using it.'
  378. e88.code = 2147749984
  379. errors[2147749984] = e88
  380. var e89 = new Error('wbemErrQueueOverflow')
  381. e89.description = 'The asynchronous delivery queue overflowed due to the event consumer being too slow.'
  382. e89.code = 2147749985
  383. errors[2147749985] = e89
  384. var e90 = new Error('wbemErrPrivilegeNotHeld')
  385. e90.description = 'The operation failed because the client did not have the necessary security privilege.'
  386. e90.code = 2147749986
  387. errors[2147749986] = e90
  388. var e91 = new Error('wbemErrInvalidOperator')
  389. e91.description = 'The operator is not valid for this property type.'
  390. e91.code = 2147749987
  391. errors[2147749987] = e91
  392. var e92 = new Error('wbemErrLocalCredentials')
  393. e92.description = 'The user specified a username, password or authority for a local connection. The user must use a blank username/password and rely on default security.'
  394. e92.code = 2147749988
  395. errors[2147749988] = e92
  396. var e93 = new Error('wbemErrCannotBeAbstract')
  397. e93.description = 'The class was made abstract when its parent class is not abstract.'
  398. e93.code = 2147749989
  399. errors[2147749989] = e93
  400. var e94 = new Error('wbemErrAmendedObject')
  401. e94.description = 'An amended object was put without the wbemFlagUseAmendedQualifiers flag being specified.'
  402. e94.code = 2147749990
  403. errors[2147749990] = e94
  404. var e95 = new Error('wbemErrClientTooSlow')
  405. e95.description = 'Windows Server 2003: The client was not retrieving objects quickly enough from an enumeration. This constant is returned when a client creates an enumeration object but does not retrieve objects from the enumerator in a timely fashion, causing the enumerator\'s object caches to get backed up.'
  406. e95.code = 2147749991
  407. errors[2147749991] = e95
  408. var e96 = new Error('wbemErrNullSecurityDescriptor')
  409. e96.description = 'Windows Server 2003: A null security descriptor was used.'
  410. e96.code = 2147749992
  411. errors[2147749992] = e96
  412. var e97 = new Error('wbemErrTimeout')
  413. e97.description = 'Windows Server 2003: The operation timed out.'
  414. e97.code = 2147749993
  415. errors[2147749993] = e97
  416. var e98 = new Error('wbemErrInvalidAssociation')
  417. e98.description = 'Windows Server 2003: The association being used is not valid.'
  418. e98.code = 2147749994
  419. errors[2147749994] = e98
  420. var e99 = new Error('wbemErrAmbiguousOperation')
  421. e99.description = 'Windows Server 2003: The operation was ambiguous.'
  422. e99.code = 2147749995
  423. errors[2147749995] = e99
  424. var e100 = new Error('wbemErrQuotaViolation')
  425. e100.description = 'Windows Server 2003: WMI is taking up too much memory. This could be caused either by low memory availability or excessive memory consumption by WMI.'
  426. e100.code = 2147749996
  427. errors[2147749996] = e100
  428. var e101 = new Error('wbemErrTransactionConflict')
  429. e101.description = 'Windows Server 2003: The operation resulted in a transaction conflict.'
  430. e101.code = 2147749997
  431. errors[2147749997] = e101
  432. var e102 = new Error('wbemErrForcedRollback')
  433. e102.description = 'Windows Server 2003: The transaction forced a rollback.'
  434. e102.code = 2147749998
  435. errors[2147749998] = e102
  436. var e103 = new Error('wbemErrUnsupportedLocale')
  437. e103.description = 'Windows Server 2003: The locale used in the call is not supported.'
  438. e103.code = 2147749999
  439. errors[2147749999] = e103
  440. var e104 = new Error('wbemErrHandleOutOfDate')
  441. e104.description = 'Windows Server 2003: The object handle is out of date.'
  442. e104.code = 2147750000
  443. errors[2147750000] = e104
  444. var e105 = new Error('wbemErrConnectionFailed')
  445. e105.description = 'Windows Server 2003: Indicates that the connection to the SQL database failed.'
  446. e105.code = 2147750001
  447. errors[2147750001] = e105
  448. var e106 = new Error('wbemErrInvalidHandleRequest')
  449. e106.description = 'Windows Server 2003: The handle request was not valid.'
  450. e106.code = 2147750002
  451. errors[2147750002] = e106
  452. var e107 = new Error('wbemErrPropertyNameTooWide')
  453. e107.description = 'Windows Server 2003: The property name contains more than 255 characters.'
  454. e107.code = 2147750003
  455. errors[2147750003] = e107
  456. var e108 = new Error('wbemErrClassNameTooWide')
  457. e108.description = 'Windows Server 2003: The class name contains more than 255 characters.'
  458. e108.code = 2147750004
  459. errors[2147750004] = e108
  460. var e109 = new Error('wbemErrMethodNameTooWide')
  461. e109.description = 'Windows Server 2003: The method name contains more than 255 characters.'
  462. e109.code = 2147750005
  463. errors[2147750005] = e109
  464. var e110 = new Error('wbemErrQualifierNameTooWide')
  465. e110.description = 'Windows Server 2003: The qualifier name contains more than 255 characters.'
  466. e110.code = 2147750006
  467. errors[2147750006] = e110
  468. var e111 = new Error('wbemErrRerunCommand')
  469. e111.description = 'Windows Server 2003: Indicates that an SQL command should be rerun because there is a deadlock in SQL. This can be returned only when data is being stored in an SQL database.'
  470. e111.code = 2147750007
  471. errors[2147750007] = e111
  472. var e112 = new Error('wbemErrDatabaseVerMismatch')
  473. e112.description = 'Windows Server 2003: The database version does not match the version that the repository driver processes.'
  474. e112.code = 2147750008
  475. errors[2147750008] = e112
  476. var e113 = new Error('wbemErrVetoDelete')
  477. e113.description = 'Windows Server 2003: WMI cannot do the delete operation because the provider does not allow it.'
  478. e113.code = 2147750010
  479. errors[2147750010] = e113
  480. var e114 = new Error('wbemErrVetoPut')
  481. e114.description = 'Windows Server 2003: WMI cannot do the put operation because the provider does not allow it.'
  482. e114.code = 2147750010
  483. errors[2147750010] = e114
  484. var e115 = new Error('wbemErrInvalidLocale')
  485. e115.description = 'Windows Server 2003: The specified locale identifier was not valid for the operation.'
  486. e115.code = 2147750016
  487. errors[2147750016] = e115
  488. var e116 = new Error('wbemErrProviderSuspended')
  489. e116.description = 'Windows Server 2003: The provider is suspended.'
  490. e116.code = 2147750017
  491. errors[2147750017] = e116
  492. var e117 = new Error('wbemErrSynchronizationRequired')
  493. e117.description = 'Windows Server 2003: The object must be committed and retrieved again before the requested operation can succeed. This constant is returned when an object must be committed and re-retrieved to see the property value.'
  494. e117.code = 2147750018
  495. errors[2147750018] = e117
  496. var e118 = new Error('wbemErrNoSchema')
  497. e118.description = 'Windows Server 2003: The operation cannot be completed because no schema is available.'
  498. e118.code = 2147750019
  499. errors[2147750019] = e118
  500. var e119 = new Error('wbemErrProviderAlreadyRegistered')
  501. e119.description = 'Windows Server 2003: The provider registration cannot be done because the provider is already registered.'
  502. e119.code = 2147750020
  503. errors[2147750020] = e119
  504. var e120 = new Error('wbemErrProviderNotRegistered')
  505. e120.description = 'Windows Server 2003: The provider for the requested data is not registered.'
  506. e120.code = 2147750021
  507. errors[2147750021] = e120
  508. var e121 = new Error('wbemErrFatalTransportError')
  509. e121.description = 'Windows Server 2003: A fatal transport error occurred and other transport will not be attempted.'
  510. e121.code = 2147750022
  511. errors[2147750022] = e121
  512. var e122 = new Error('wbemErrEncryptedConnectionRequired')
  513. e122.description = 'Windows Server 2003: The client connection to WINMGMT must be encrypted for this operation. The IWbemServices proxy security settings should be adjusted and the operation retried.'
  514. e122.code = 2147750023
  515. errors[2147750023] = e122
  516. var e123 = new Error('wbemErrRegistrationTooBroad')
  517. e123.description = 'Windows Server 2003: The provider registration overlaps with the system event domain.'
  518. e123.code = 2147753985
  519. errors[2147753985] = e123
  520. var e124 = new Error('wbemErrRegistrationTooPrecise')
  521. e124.description = 'Windows Server 2003: A WITHIN clause was not used in this query.'
  522. e124.code = 2147753986
  523. errors[2147753986] = e124
  524. var e125 = new Error('wbemErrTimedout')
  525. e125.description = 'Windows Server 2003: Automation-specific error.'
  526. e125.code = 2147758081
  527. errors[2147758081] = e125
  528. var e126 = new Error('wbemErrResetToDefault')
  529. e126.description = 'undefined'
  530. e126.code = 2147758082
  531. errors[2147758082] = e126
  532. // *** end generated errors ***//
  533. module.exports = errors