@idlebox/node 1.4.6 → 1.4.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (332) hide show
  1. package/config/autoindex.json +4 -0
  2. package/config/rig.json +5 -0
  3. package/lib/{esm/asyncLoad.d.ts → asyncLoad.d.ts} +1 -5
  4. package/lib/asyncLoad.d.ts.map +1 -0
  5. package/lib/{esm/asyncLoad.js → asyncLoad.js} +4 -11
  6. package/lib/asyncLoad.js.map +1 -0
  7. package/lib/{esm/__create_index.generated.d.ts → autoindex.d.ts} +19 -16
  8. package/lib/autoindex.d.ts.map +1 -0
  9. package/lib/autoindex.generated.d.ts +80 -0
  10. package/lib/autoindex.generated.d.ts.map +1 -0
  11. package/lib/autoindex.generated.js +132 -0
  12. package/lib/autoindex.generated.js.map +1 -0
  13. package/lib/{esm/__create_index.generated.js → autoindex.js} +13 -7
  14. package/lib/autoindex.js.map +1 -0
  15. package/lib/child_process/error.d.ts.map +1 -0
  16. package/lib/{esm/child_process → child_process}/error.js +1 -1
  17. package/lib/child_process/error.js.map +1 -0
  18. package/lib/{esm/child_process → child_process}/execa.d.ts +6 -2
  19. package/lib/child_process/execa.d.ts.map +1 -0
  20. package/lib/{esm/child_process → child_process}/execa.js +8 -6
  21. package/lib/child_process/execa.js.map +1 -0
  22. package/lib/child_process/lateError.d.ts.map +1 -0
  23. package/lib/{esm/child_process → child_process}/lateError.js +1 -1
  24. package/lib/child_process/lateError.js.map +1 -0
  25. package/lib/{esm/child_process → child_process}/respawn.d.ts +2 -2
  26. package/lib/child_process/respawn.d.ts.map +1 -0
  27. package/lib/{esm/child_process → child_process}/respawn.js +7 -11
  28. package/lib/child_process/respawn.js.map +1 -0
  29. package/lib/cli-io/output.d.ts.map +1 -0
  30. package/lib/{esm/cli-io → cli-io}/output.js +1 -1
  31. package/lib/cli-io/output.js.map +1 -0
  32. package/lib/crypto/md5.d.ts.map +1 -0
  33. package/lib/{esm/crypto → crypto}/md5.js +1 -1
  34. package/lib/crypto/md5.js.map +1 -0
  35. package/lib/crypto/sha256.d.ts.map +1 -0
  36. package/lib/{esm/crypto → crypto}/sha256.js +1 -1
  37. package/lib/crypto/sha256.js.map +1 -0
  38. package/lib/environment/findBinary.d.ts +3 -0
  39. package/lib/environment/findBinary.d.ts.map +1 -0
  40. package/lib/{esm/environment → environment}/findBinary.js +1 -1
  41. package/lib/environment/findBinary.js.map +1 -0
  42. package/lib/environment/getEnvironment.d.ts.map +1 -0
  43. package/lib/{esm/environment → environment}/getEnvironment.js +3 -3
  44. package/lib/environment/getEnvironment.js.map +1 -0
  45. package/lib/environment/npmConfig.d.ts.map +1 -0
  46. package/lib/{esm/environment → environment}/npmConfig.js +1 -1
  47. package/lib/environment/npmConfig.js.map +1 -0
  48. package/lib/{esm/environment → environment}/pathEnvironment.d.ts +4 -0
  49. package/lib/environment/pathEnvironment.d.ts.map +1 -0
  50. package/lib/{esm/environment → environment}/pathEnvironment.js +8 -5
  51. package/lib/environment/pathEnvironment.js.map +1 -0
  52. package/lib/error/linux.d.ts.map +1 -0
  53. package/lib/{esm/error → error}/linux.js +1 -1
  54. package/lib/error/linux.js.map +1 -0
  55. package/lib/{esm/error → error}/types.d.ts +2 -2
  56. package/lib/error/types.d.ts.map +1 -0
  57. package/lib/{esm/error → error}/types.js +3 -2
  58. package/lib/error/types.js.map +1 -0
  59. package/lib/events/dumpEventEmitter.d.ts.map +1 -0
  60. package/lib/{esm/events → events}/dumpEventEmitter.js +1 -1
  61. package/lib/events/dumpEventEmitter.js.map +1 -0
  62. package/lib/fs/commandExists.d.ts.map +1 -0
  63. package/lib/{esm/fs → fs}/commandExists.js +3 -3
  64. package/lib/fs/commandExists.js.map +1 -0
  65. package/lib/fs/emptyDir.d.ts +10 -0
  66. package/lib/fs/emptyDir.d.ts.map +1 -0
  67. package/lib/{esm/fs → fs}/emptyDir.js +6 -3
  68. package/lib/fs/emptyDir.js.map +1 -0
  69. package/lib/fs/ensureDir.d.ts +3 -0
  70. package/lib/fs/ensureDir.d.ts.map +1 -0
  71. package/lib/fs/ensureDir.js +20 -0
  72. package/lib/fs/ensureDir.js.map +1 -0
  73. package/lib/fs/exists.d.ts.map +1 -0
  74. package/lib/{esm/fs → fs}/exists.js +1 -1
  75. package/lib/fs/exists.js.map +1 -0
  76. package/lib/fs/tempFolder.d.ts.map +1 -0
  77. package/lib/{esm/fs → fs}/tempFolder.js +1 -1
  78. package/lib/fs/tempFolder.js.map +1 -0
  79. package/lib/fs/weiteChanged.d.ts.map +1 -0
  80. package/lib/{esm/fs → fs}/weiteChanged.js +1 -1
  81. package/lib/fs/weiteChanged.js.map +1 -0
  82. package/lib/lifecycle/register.d.ts +10 -0
  83. package/lib/lifecycle/register.d.ts.map +1 -0
  84. package/lib/lifecycle/register.js +81 -0
  85. package/lib/lifecycle/register.js.map +1 -0
  86. package/lib/log/terminal.d.ts.map +1 -0
  87. package/lib/{esm/log → log}/terminal.js +1 -1
  88. package/lib/{cjs/log/terminal.cjs.map → log/terminal.js.map} +1 -10
  89. package/lib/path-resolve/findPackageRoot.d.ts.map +1 -0
  90. package/lib/{esm/path-resolve → path-resolve}/findPackageRoot.js +2 -2
  91. package/lib/path-resolve/findPackageRoot.js.map +1 -0
  92. package/lib/{esm/path-resolve → path-resolve}/findUp.d.ts +4 -4
  93. package/lib/path-resolve/findUp.d.ts.map +1 -0
  94. package/lib/path-resolve/findUp.js +118 -0
  95. package/lib/path-resolve/findUp.js.map +1 -0
  96. package/lib/path-resolve/getAllUp.d.ts.map +1 -0
  97. package/lib/{esm/path-resolve → path-resolve}/getAllUp.js +1 -1
  98. package/lib/path-resolve/getAllUp.js.map +1 -0
  99. package/lib/path-resolve/lrelative.d.ts.map +1 -0
  100. package/lib/{esm/path-resolve → path-resolve}/lrelative.js +1 -1
  101. package/lib/path-resolve/lrelative.js.map +1 -0
  102. package/lib/path-resolve/nodeResolvePathArray.d.ts.map +1 -0
  103. package/lib/{esm/path-resolve → path-resolve}/nodeResolvePathArray.js +1 -1
  104. package/lib/path-resolve/nodeResolvePathArray.js.map +1 -0
  105. package/lib/path-resolve/resolvePath.d.ts.map +1 -0
  106. package/lib/{esm/path-resolve → path-resolve}/resolvePath.js +1 -1
  107. package/lib/path-resolve/resolvePath.js.map +1 -0
  108. package/lib/preload.d.ts.map +1 -0
  109. package/lib/preload.js +2 -0
  110. package/lib/preload.js.map +1 -0
  111. package/lib/stream/blackHoleStream.d.ts.map +1 -0
  112. package/lib/{esm/stream → stream}/blackHoleStream.js +1 -1
  113. package/lib/stream/blackHoleStream.js.map +1 -0
  114. package/lib/stream/collectingStream.d.ts.map +1 -0
  115. package/lib/{esm/stream → stream}/collectingStream.js +1 -1
  116. package/lib/stream/collectingStream.js.map +1 -0
  117. package/lib/stream/disposableStream.d.ts.map +1 -0
  118. package/lib/{esm/stream → stream}/disposableStream.js +1 -1
  119. package/lib/stream/disposableStream.js.map +1 -0
  120. package/lib/stream/drainStream.d.ts.map +1 -0
  121. package/lib/{esm/stream → stream}/drainStream.js +1 -1
  122. package/lib/stream/drainStream.js.map +1 -0
  123. package/lib/stream/loggerStream.d.ts.map +1 -0
  124. package/lib/{esm/stream → stream}/loggerStream.js +1 -1
  125. package/lib/stream/loggerStream.js.map +1 -0
  126. package/lib/stream/streamPromise.d.ts.map +1 -0
  127. package/lib/{esm/stream → stream}/streamPromise.js +1 -1
  128. package/lib/stream/streamPromise.js.map +1 -0
  129. package/lib/tsconfig.tsbuildinfo +1 -0
  130. package/package.json +18 -32
  131. package/src/asyncLoad.ts +3 -12
  132. package/src/autoindex.generated.ts +159 -0
  133. package/src/autoindex.ts +153 -0
  134. package/src/child_process/execa.ts +14 -7
  135. package/src/child_process/respawn.ts +7 -12
  136. package/src/environment/findBinary.ts +2 -5
  137. package/src/environment/getEnvironment.ts +2 -2
  138. package/src/environment/pathEnvironment.ts +7 -4
  139. package/src/error/types.ts +3 -2
  140. package/src/fs/commandExists.ts +2 -2
  141. package/src/fs/emptyDir.ts +6 -3
  142. package/src/fs/ensureDir.ts +19 -0
  143. package/src/lifecycle/register.ts +97 -0
  144. package/src/path-resolve/findPackageRoot.ts +1 -1
  145. package/src/path-resolve/findUp.ts +105 -55
  146. package/src/tsconfig.json +4 -4
  147. package/tests/01-load/load.test.js +37 -0
  148. package/tests/01-load/module.js +8 -0
  149. package/tests/01-load/package.json +4 -0
  150. package/tests/01-load/require.cjs +7 -0
  151. package/tests/include/paths.js +3 -0
  152. package/tests/package.json +4 -0
  153. package/tests/respawn.js +12 -0
  154. package/lib/cjs/__create_index.generated.cjs +0 -186
  155. package/lib/cjs/__create_index.generated.cjs.map +0 -10
  156. package/lib/cjs/asyncLoad.cjs +0 -55
  157. package/lib/cjs/asyncLoad.cjs.map +0 -10
  158. package/lib/cjs/child_process/error.cjs +0 -45
  159. package/lib/cjs/child_process/error.cjs.map +0 -10
  160. package/lib/cjs/child_process/execa.cjs +0 -96
  161. package/lib/cjs/child_process/execa.cjs.map +0 -10
  162. package/lib/cjs/child_process/lateError.cjs +0 -76
  163. package/lib/cjs/child_process/lateError.cjs.map +0 -10
  164. package/lib/cjs/child_process/respawn.cjs +0 -123
  165. package/lib/cjs/child_process/respawn.cjs.map +0 -10
  166. package/lib/cjs/cli-io/output.cjs +0 -7
  167. package/lib/cjs/cli-io/output.cjs.map +0 -10
  168. package/lib/cjs/crypto/md5.cjs +0 -8
  169. package/lib/cjs/crypto/md5.cjs.map +0 -10
  170. package/lib/cjs/crypto/sha256.cjs +0 -8
  171. package/lib/cjs/crypto/sha256.cjs.map +0 -10
  172. package/lib/cjs/environment/findBinary.cjs +0 -15
  173. package/lib/cjs/environment/findBinary.cjs.map +0 -10
  174. package/lib/cjs/environment/getEnvironment.cjs +0 -55
  175. package/lib/cjs/environment/getEnvironment.cjs.map +0 -10
  176. package/lib/cjs/environment/npmConfig.cjs +0 -24
  177. package/lib/cjs/environment/npmConfig.cjs.map +0 -10
  178. package/lib/cjs/environment/pathEnvironment.cjs +0 -46
  179. package/lib/cjs/environment/pathEnvironment.cjs.map +0 -10
  180. package/lib/cjs/error/linux.cjs +0 -129
  181. package/lib/cjs/error/linux.cjs.map +0 -10
  182. package/lib/cjs/error/nodejs-error-code.generated.cjs +0 -2498
  183. package/lib/cjs/error/nodejs-error-code.generated.cjs.map +0 -10
  184. package/lib/cjs/error/types.cjs +0 -32
  185. package/lib/cjs/error/types.cjs.map +0 -10
  186. package/lib/cjs/events/dumpEventEmitter.cjs +0 -11
  187. package/lib/cjs/events/dumpEventEmitter.cjs.map +0 -10
  188. package/lib/cjs/fs/commandExists.cjs +0 -53
  189. package/lib/cjs/fs/commandExists.cjs.map +0 -10
  190. package/lib/cjs/fs/emptyDir.cjs +0 -30
  191. package/lib/cjs/fs/emptyDir.cjs.map +0 -10
  192. package/lib/cjs/fs/exists.cjs +0 -35
  193. package/lib/cjs/fs/exists.cjs.map +0 -10
  194. package/lib/cjs/fs/tempFolder.cjs +0 -54
  195. package/lib/cjs/fs/tempFolder.cjs.map +0 -10
  196. package/lib/cjs/fs/weiteChanged.cjs +0 -52
  197. package/lib/cjs/fs/weiteChanged.cjs.map +0 -10
  198. package/lib/cjs/log/terminal.cjs +0 -41
  199. package/lib/cjs/path-resolve/findPackageRoot.cjs +0 -23
  200. package/lib/cjs/path-resolve/findPackageRoot.cjs.map +0 -10
  201. package/lib/cjs/path-resolve/findUp.cjs +0 -72
  202. package/lib/cjs/path-resolve/findUp.cjs.map +0 -10
  203. package/lib/cjs/path-resolve/getAllUp.cjs +0 -17
  204. package/lib/cjs/path-resolve/getAllUp.cjs.map +0 -10
  205. package/lib/cjs/path-resolve/lrelative.cjs +0 -23
  206. package/lib/cjs/path-resolve/lrelative.cjs.map +0 -10
  207. package/lib/cjs/path-resolve/nodeResolvePathArray.cjs +0 -13
  208. package/lib/cjs/path-resolve/nodeResolvePathArray.cjs.map +0 -10
  209. package/lib/cjs/path-resolve/resolvePath.cjs +0 -27
  210. package/lib/cjs/path-resolve/resolvePath.cjs.map +0 -10
  211. package/lib/cjs/preload.cjs +0 -3
  212. package/lib/cjs/preload.cjs.map +0 -10
  213. package/lib/cjs/stream/blackHoleStream.cjs +0 -11
  214. package/lib/cjs/stream/blackHoleStream.cjs.map +0 -10
  215. package/lib/cjs/stream/collectingStream.cjs +0 -79
  216. package/lib/cjs/stream/collectingStream.cjs.map +0 -10
  217. package/lib/cjs/stream/disposableStream.cjs +0 -22
  218. package/lib/cjs/stream/disposableStream.cjs.map +0 -10
  219. package/lib/cjs/stream/drainStream.cjs +0 -18
  220. package/lib/cjs/stream/drainStream.cjs.map +0 -10
  221. package/lib/cjs/stream/loggerStream.cjs +0 -59
  222. package/lib/cjs/stream/loggerStream.cjs.map +0 -10
  223. package/lib/cjs/stream/streamPromise.cjs +0 -25
  224. package/lib/cjs/stream/streamPromise.cjs.map +0 -10
  225. package/lib/esm/__create_index.generated.d.ts.map +0 -10
  226. package/lib/esm/__create_index.generated.js.map +0 -10
  227. package/lib/esm/__virtual_tsconfig.tsbuildinfo +0 -1
  228. package/lib/esm/asyncLoad.d.ts.map +0 -10
  229. package/lib/esm/asyncLoad.js.map +0 -10
  230. package/lib/esm/child_process/error.d.ts.map +0 -10
  231. package/lib/esm/child_process/error.js.map +0 -10
  232. package/lib/esm/child_process/execa.d.ts.map +0 -10
  233. package/lib/esm/child_process/execa.js.map +0 -10
  234. package/lib/esm/child_process/lateError.d.ts.map +0 -10
  235. package/lib/esm/child_process/lateError.js.map +0 -10
  236. package/lib/esm/child_process/respawn.d.ts.map +0 -10
  237. package/lib/esm/child_process/respawn.js.map +0 -10
  238. package/lib/esm/cli-io/output.d.ts.map +0 -10
  239. package/lib/esm/cli-io/output.js.map +0 -10
  240. package/lib/esm/crypto/md5.d.ts.map +0 -10
  241. package/lib/esm/crypto/md5.js.map +0 -10
  242. package/lib/esm/crypto/sha256.d.ts.map +0 -10
  243. package/lib/esm/crypto/sha256.js.map +0 -10
  244. package/lib/esm/environment/findBinary.d.ts +0 -2
  245. package/lib/esm/environment/findBinary.d.ts.map +0 -10
  246. package/lib/esm/environment/findBinary.js.map +0 -10
  247. package/lib/esm/environment/getEnvironment.d.ts.map +0 -10
  248. package/lib/esm/environment/getEnvironment.js.map +0 -10
  249. package/lib/esm/environment/npmConfig.d.ts.map +0 -10
  250. package/lib/esm/environment/npmConfig.js.map +0 -10
  251. package/lib/esm/environment/pathEnvironment.d.ts.map +0 -10
  252. package/lib/esm/environment/pathEnvironment.js.map +0 -10
  253. package/lib/esm/error/linux.d.ts.map +0 -10
  254. package/lib/esm/error/linux.js.map +0 -10
  255. package/lib/esm/error/nodejs-error-code.generated.d.ts +0 -2485
  256. package/lib/esm/error/nodejs-error-code.generated.d.ts.map +0 -10
  257. package/lib/esm/error/nodejs-error-code.generated.js +0 -2495
  258. package/lib/esm/error/nodejs-error-code.generated.js.map +0 -10
  259. package/lib/esm/error/types.d.ts.map +0 -10
  260. package/lib/esm/error/types.js.map +0 -10
  261. package/lib/esm/events/dumpEventEmitter.d.ts.map +0 -10
  262. package/lib/esm/events/dumpEventEmitter.js.map +0 -10
  263. package/lib/esm/fs/commandExists.d.ts.map +0 -10
  264. package/lib/esm/fs/commandExists.js.map +0 -10
  265. package/lib/esm/fs/emptyDir.d.ts +0 -7
  266. package/lib/esm/fs/emptyDir.d.ts.map +0 -10
  267. package/lib/esm/fs/emptyDir.js.map +0 -10
  268. package/lib/esm/fs/exists.d.ts.map +0 -10
  269. package/lib/esm/fs/exists.js.map +0 -10
  270. package/lib/esm/fs/tempFolder.d.ts.map +0 -10
  271. package/lib/esm/fs/tempFolder.js.map +0 -10
  272. package/lib/esm/fs/weiteChanged.d.ts.map +0 -10
  273. package/lib/esm/fs/weiteChanged.js.map +0 -10
  274. package/lib/esm/log/terminal.d.ts.map +0 -10
  275. package/lib/esm/log/terminal.js.map +0 -10
  276. package/lib/esm/path-resolve/findPackageRoot.d.ts.map +0 -10
  277. package/lib/esm/path-resolve/findPackageRoot.js.map +0 -10
  278. package/lib/esm/path-resolve/findUp.d.ts.map +0 -10
  279. package/lib/esm/path-resolve/findUp.js +0 -68
  280. package/lib/esm/path-resolve/findUp.js.map +0 -10
  281. package/lib/esm/path-resolve/getAllUp.d.ts.map +0 -10
  282. package/lib/esm/path-resolve/getAllUp.js.map +0 -10
  283. package/lib/esm/path-resolve/lrelative.d.ts.map +0 -10
  284. package/lib/esm/path-resolve/lrelative.js.map +0 -10
  285. package/lib/esm/path-resolve/nodeResolvePathArray.d.ts.map +0 -10
  286. package/lib/esm/path-resolve/nodeResolvePathArray.js.map +0 -10
  287. package/lib/esm/path-resolve/resolvePath.d.ts.map +0 -10
  288. package/lib/esm/path-resolve/resolvePath.js.map +0 -10
  289. package/lib/esm/preload.d.ts.map +0 -10
  290. package/lib/esm/preload.js +0 -2
  291. package/lib/esm/preload.js.map +0 -10
  292. package/lib/esm/stream/blackHoleStream.d.ts.map +0 -10
  293. package/lib/esm/stream/blackHoleStream.js.map +0 -10
  294. package/lib/esm/stream/collectingStream.d.ts.map +0 -10
  295. package/lib/esm/stream/collectingStream.js.map +0 -10
  296. package/lib/esm/stream/disposableStream.d.ts.map +0 -10
  297. package/lib/esm/stream/disposableStream.js.map +0 -10
  298. package/lib/esm/stream/drainStream.d.ts.map +0 -10
  299. package/lib/esm/stream/drainStream.js.map +0 -10
  300. package/lib/esm/stream/loggerStream.d.ts.map +0 -10
  301. package/lib/esm/stream/loggerStream.js.map +0 -10
  302. package/lib/esm/stream/streamPromise.d.ts.map +0 -10
  303. package/lib/esm/stream/streamPromise.js.map +0 -10
  304. package/src/error/cache.generated.json +0 -3971
  305. package/src/error/nodejs-error-code.generated.ts +0 -2495
  306. package/src/error/nodejs-error-code.generator.ts +0 -67
  307. /package/lib/{esm/child_process → child_process}/error.d.ts +0 -0
  308. /package/lib/{esm/child_process → child_process}/lateError.d.ts +0 -0
  309. /package/lib/{esm/cli-io → cli-io}/output.d.ts +0 -0
  310. /package/lib/{esm/crypto → crypto}/md5.d.ts +0 -0
  311. /package/lib/{esm/crypto → crypto}/sha256.d.ts +0 -0
  312. /package/lib/{esm/environment → environment}/getEnvironment.d.ts +0 -0
  313. /package/lib/{esm/environment → environment}/npmConfig.d.ts +0 -0
  314. /package/lib/{esm/error → error}/linux.d.ts +0 -0
  315. /package/lib/{esm/events → events}/dumpEventEmitter.d.ts +0 -0
  316. /package/lib/{esm/fs → fs}/commandExists.d.ts +0 -0
  317. /package/lib/{esm/fs → fs}/exists.d.ts +0 -0
  318. /package/lib/{esm/fs → fs}/tempFolder.d.ts +0 -0
  319. /package/lib/{esm/fs → fs}/weiteChanged.d.ts +0 -0
  320. /package/lib/{esm/log → log}/terminal.d.ts +0 -0
  321. /package/lib/{esm/path-resolve → path-resolve}/findPackageRoot.d.ts +0 -0
  322. /package/lib/{esm/path-resolve → path-resolve}/getAllUp.d.ts +0 -0
  323. /package/lib/{esm/path-resolve → path-resolve}/lrelative.d.ts +0 -0
  324. /package/lib/{esm/path-resolve → path-resolve}/nodeResolvePathArray.d.ts +0 -0
  325. /package/lib/{esm/path-resolve → path-resolve}/resolvePath.d.ts +0 -0
  326. /package/lib/{esm/preload.d.ts → preload.d.ts} +0 -0
  327. /package/lib/{esm/stream → stream}/blackHoleStream.d.ts +0 -0
  328. /package/lib/{esm/stream → stream}/collectingStream.d.ts +0 -0
  329. /package/lib/{esm/stream → stream}/disposableStream.d.ts +0 -0
  330. /package/lib/{esm/stream → stream}/drainStream.d.ts +0 -0
  331. /package/lib/{esm/stream → stream}/loggerStream.d.ts +0 -0
  332. /package/lib/{esm/stream → stream}/streamPromise.d.ts +0 -0
@@ -1,2498 +0,0 @@
1
- "use strict";
2
- /* eslint-disable */
3
- // @ts-ignore
4
- /*
5
- *
6
- * GENERATED FILE, DO NOT MODIFY
7
- * 这是生成的文件,千万不要修改
8
- *
9
- */
10
- Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.OpenSSLError = exports.NodeError = void 0;
12
- var NodeError;
13
- (function (NodeError) {
14
- /**
15
- * <p>Used when an operation has been aborted (typically using an <code>AbortController</code>).</p>
16
- * <p>APIs <em>not</em> using <code>AbortSignal</code>s typically do not raise an error with this code.</p>
17
- * <p>This code does not use the regular <code>ERR_*</code> convention Node.js errors use in
18
- * order to be compatible with the web platform's <code>AbortError</code>.</p>
19
- * <p><a id="ERR_ACCESS_DENIED"></a></p>
20
- */
21
- NodeError["ABORT_ERR"] = "ABORT_ERR";
22
- /**
23
- * <p>A special type of error that is triggered whenever Node.js tries to get access
24
- * to a resource restricted by the <a href="permissions.html#permission-model">Permission Model</a>.</p>
25
- * <p><a id="ERR_AMBIGUOUS_ARGUMENT"></a></p>
26
- */
27
- NodeError["ERR_ACCESS_DENIED"] = "ERR_ACCESS_DENIED";
28
- /**
29
- * <p>A function argument is being used in a way that suggests that the function
30
- * signature may be misunderstood. This is thrown by the <code>node:assert</code> module when
31
- * the <code>message</code> parameter in <code>assert.throws(block, message)</code> matches the error
32
- * message thrown by <code>block</code> because that usage suggests that the user believes
33
- * <code>message</code> is the expected message rather than the message the <code>AssertionError</code>
34
- * will display if <code>block</code> does not throw.</p>
35
- * <p><a id="ERR_ARG_NOT_ITERABLE"></a></p>
36
- */
37
- NodeError["ERR_AMBIGUOUS_ARGUMENT"] = "ERR_AMBIGUOUS_ARGUMENT";
38
- /**
39
- * <p>An iterable argument (i.e. a value that works with <code>for...of</code> loops) was
40
- * required, but not provided to a Node.js API.</p>
41
- * <p><a id="ERR_ASSERTION"></a></p>
42
- */
43
- NodeError["ERR_ARG_NOT_ITERABLE"] = "ERR_ARG_NOT_ITERABLE";
44
- /**
45
- * <p>A special type of error that can be triggered whenever Node.js detects an
46
- * exceptional logic violation that should never occur. These are raised typically
47
- * by the <code>node:assert</code> module.</p>
48
- * <p><a id="ERR_ASYNC_CALLBACK"></a></p>
49
- */
50
- NodeError["ERR_ASSERTION"] = "ERR_ASSERTION";
51
- /**
52
- * <p>An attempt was made to register something that is not a function as an
53
- * <code>AsyncHooks</code> callback.</p>
54
- * <p><a id="ERR_ASYNC_TYPE"></a></p>
55
- */
56
- NodeError["ERR_ASYNC_CALLBACK"] = "ERR_ASYNC_CALLBACK";
57
- /**
58
- * <p>The type of an asynchronous resource was invalid. Users are also able
59
- * to define their own types if using the public embedder API.</p>
60
- * <p><a id="ERR_BROTLI_COMPRESSION_FAILED"></a></p>
61
- */
62
- NodeError["ERR_ASYNC_TYPE"] = "ERR_ASYNC_TYPE";
63
- /**
64
- * <p>Data passed to a Brotli stream was not successfully compressed.</p>
65
- * <p><a id="ERR_BROTLI_INVALID_PARAM"></a></p>
66
- */
67
- NodeError["ERR_BROTLI_COMPRESSION_FAILED"] = "ERR_BROTLI_COMPRESSION_FAILED";
68
- /**
69
- * <p>An invalid parameter key was passed during construction of a Brotli stream.</p>
70
- * <p><a id="ERR_BUFFER_CONTEXT_NOT_AVAILABLE"></a></p>
71
- */
72
- NodeError["ERR_BROTLI_INVALID_PARAM"] = "ERR_BROTLI_INVALID_PARAM";
73
- /**
74
- * <p>An attempt was made to create a Node.js <code>Buffer</code> instance from addon or embedder
75
- * code, while in a JS engine Context that is not associated with a Node.js
76
- * instance. The data passed to the <code>Buffer</code> method will have been released
77
- * by the time the method returns.</p>
78
- * <p>When encountering this error, a possible alternative to creating a <code>Buffer</code>
79
- * instance is to create a normal <code>Uint8Array</code>, which only differs in the
80
- * prototype of the resulting object. <code>Uint8Array</code>s are generally accepted in all
81
- * Node.js core APIs where <code>Buffer</code>s are; they are available in all Contexts.</p>
82
- * <p><a id="ERR_BUFFER_OUT_OF_BOUNDS"></a></p>
83
- */
84
- NodeError["ERR_BUFFER_CONTEXT_NOT_AVAILABLE"] = "ERR_BUFFER_CONTEXT_NOT_AVAILABLE";
85
- /**
86
- * <p>An operation outside the bounds of a <code>Buffer</code> was attempted.</p>
87
- * <p><a id="ERR_BUFFER_TOO_LARGE"></a></p>
88
- */
89
- NodeError["ERR_BUFFER_OUT_OF_BOUNDS"] = "ERR_BUFFER_OUT_OF_BOUNDS";
90
- /**
91
- * <p>An attempt has been made to create a <code>Buffer</code> larger than the maximum allowed
92
- * size.</p>
93
- * <p><a id="ERR_CANNOT_WATCH_SIGINT"></a></p>
94
- */
95
- NodeError["ERR_BUFFER_TOO_LARGE"] = "ERR_BUFFER_TOO_LARGE";
96
- /**
97
- * <p>Node.js was unable to watch for the <code>SIGINT</code> signal.</p>
98
- * <p><a id="ERR_CHILD_CLOSED_BEFORE_REPLY"></a></p>
99
- */
100
- NodeError["ERR_CANNOT_WATCH_SIGINT"] = "ERR_CANNOT_WATCH_SIGINT";
101
- /**
102
- * <p>A child process was closed before the parent received a reply.</p>
103
- * <p><a id="ERR_CHILD_PROCESS_IPC_REQUIRED"></a></p>
104
- */
105
- NodeError["ERR_CHILD_CLOSED_BEFORE_REPLY"] = "ERR_CHILD_CLOSED_BEFORE_REPLY";
106
- /**
107
- * <p>Used when a child process is being forked without specifying an IPC channel.</p>
108
- * <p><a id="ERR_CHILD_PROCESS_STDIO_MAXBUFFER"></a></p>
109
- */
110
- NodeError["ERR_CHILD_PROCESS_IPC_REQUIRED"] = "ERR_CHILD_PROCESS_IPC_REQUIRED";
111
- /**
112
- * <p>Used when the main process is trying to read data from the child process's
113
- * STDERR/STDOUT, and the data's length is longer than the <code>maxBuffer</code> option.</p>
114
- * <p><a id="ERR_CLOSED_MESSAGE_PORT"></a></p>
115
- */
116
- NodeError["ERR_CHILD_PROCESS_STDIO_MAXBUFFER"] = "ERR_CHILD_PROCESS_STDIO_MAXBUFFER";
117
- /**
118
- * <p>There was an attempt to use a <code>MessagePort</code> instance in a closed
119
- * state, usually after <code>.close()</code> has been called.</p>
120
- * <p><a id="ERR_CONSOLE_WRITABLE_STREAM"></a></p>
121
- */
122
- NodeError["ERR_CLOSED_MESSAGE_PORT"] = "ERR_CLOSED_MESSAGE_PORT";
123
- /**
124
- * <p><code>Console</code> was instantiated without <code>stdout</code> stream, or <code>Console</code> has a
125
- * non-writable <code>stdout</code> or <code>stderr</code> stream.</p>
126
- * <p><a id="ERR_CONSTRUCT_CALL_INVALID"></a></p>
127
- */
128
- NodeError["ERR_CONSOLE_WRITABLE_STREAM"] = "ERR_CONSOLE_WRITABLE_STREAM";
129
- /**
130
- * <p>A class constructor was called that is not callable.</p>
131
- * <p><a id="ERR_CONSTRUCT_CALL_REQUIRED"></a></p>
132
- */
133
- NodeError["ERR_CONSTRUCT_CALL_INVALID"] = "ERR_CONSTRUCT_CALL_INVALID";
134
- /**
135
- * <p>A constructor for a class was called without <code>new</code>.</p>
136
- * <p><a id="ERR_CONTEXT_NOT_INITIALIZED"></a></p>
137
- */
138
- NodeError["ERR_CONSTRUCT_CALL_REQUIRED"] = "ERR_CONSTRUCT_CALL_REQUIRED";
139
- /**
140
- * <p>The vm context passed into the API is not yet initialized. This could happen
141
- * when an error occurs (and is caught) during the creation of the
142
- * context, for example, when the allocation fails or the maximum call stack
143
- * size is reached when the context is created.</p>
144
- * <p><a id="ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED"></a></p>
145
- */
146
- NodeError["ERR_CONTEXT_NOT_INITIALIZED"] = "ERR_CONTEXT_NOT_INITIALIZED";
147
- /**
148
- * <p>An OpenSSL engine was requested (for example, through the <code>clientCertEngine</code> or
149
- * <code>privateKeyEngine</code> TLS options) that is not supported by the version of OpenSSL
150
- * being used, likely due to the compile-time flag <code>OPENSSL_NO_ENGINE</code>.</p>
151
- * <p><a id="ERR_CRYPTO_ECDH_INVALID_FORMAT"></a></p>
152
- */
153
- NodeError["ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED"] = "ERR_CRYPTO_CUSTOM_ENGINE_NOT_SUPPORTED";
154
- /**
155
- * <p>An invalid value for the <code>format</code> argument was passed to the <code>crypto.ECDH()</code>
156
- * class <code>getPublicKey()</code> method.</p>
157
- * <p><a id="ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY"></a></p>
158
- */
159
- NodeError["ERR_CRYPTO_ECDH_INVALID_FORMAT"] = "ERR_CRYPTO_ECDH_INVALID_FORMAT";
160
- /**
161
- * <p>An invalid value for the <code>key</code> argument has been passed to the
162
- * <code>crypto.ECDH()</code> class <code>computeSecret()</code> method. It means that the public
163
- * key lies outside of the elliptic curve.</p>
164
- * <p><a id="ERR_CRYPTO_ENGINE_UNKNOWN"></a></p>
165
- */
166
- NodeError["ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY"] = "ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY";
167
- /**
168
- * <p>An invalid crypto engine identifier was passed to
169
- * <a href="crypto.html#cryptosetengineengine-flags"><code>require('node:crypto').setEngine()</code></a>.</p>
170
- * <p><a id="ERR_CRYPTO_FIPS_FORCED"></a></p>
171
- */
172
- NodeError["ERR_CRYPTO_ENGINE_UNKNOWN"] = "ERR_CRYPTO_ENGINE_UNKNOWN";
173
- /**
174
- * <p>The <a href="cli.html#--force-fips"><code>--force-fips</code></a> command-line argument was used but there was an attempt
175
- * to enable or disable FIPS mode in the <code>node:crypto</code> module.</p>
176
- * <p><a id="ERR_CRYPTO_FIPS_UNAVAILABLE"></a></p>
177
- */
178
- NodeError["ERR_CRYPTO_FIPS_FORCED"] = "ERR_CRYPTO_FIPS_FORCED";
179
- /**
180
- * <p>An attempt was made to enable or disable FIPS mode, but FIPS mode was not
181
- * available.</p>
182
- * <p><a id="ERR_CRYPTO_HASH_FINALIZED"></a></p>
183
- */
184
- NodeError["ERR_CRYPTO_FIPS_UNAVAILABLE"] = "ERR_CRYPTO_FIPS_UNAVAILABLE";
185
- /**
186
- * <p><a href="crypto.html#hashdigestencoding"><code>hash.digest()</code></a> was called multiple times. The <code>hash.digest()</code> method must
187
- * be called no more than one time per instance of a <code>Hash</code> object.</p>
188
- * <p><a id="ERR_CRYPTO_HASH_UPDATE_FAILED"></a></p>
189
- */
190
- NodeError["ERR_CRYPTO_HASH_FINALIZED"] = "ERR_CRYPTO_HASH_FINALIZED";
191
- /**
192
- * <p><a href="crypto.html#hashupdatedata-inputencoding"><code>hash.update()</code></a> failed for any reason. This should rarely, if ever, happen.</p>
193
- * <p><a id="ERR_CRYPTO_INCOMPATIBLE_KEY"></a></p>
194
- */
195
- NodeError["ERR_CRYPTO_HASH_UPDATE_FAILED"] = "ERR_CRYPTO_HASH_UPDATE_FAILED";
196
- /**
197
- * <p>The given crypto keys are incompatible with the attempted operation.</p>
198
- * <p><a id="ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS"></a></p>
199
- */
200
- NodeError["ERR_CRYPTO_INCOMPATIBLE_KEY"] = "ERR_CRYPTO_INCOMPATIBLE_KEY";
201
- /**
202
- * <p>The selected public or private key encoding is incompatible with other options.</p>
203
- * <p><a id="ERR_CRYPTO_INITIALIZATION_FAILED"></a></p>
204
- */
205
- NodeError["ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS"] = "ERR_CRYPTO_INCOMPATIBLE_KEY_OPTIONS";
206
- /**
207
- * <p>Initialization of the crypto subsystem failed.</p>
208
- * <p><a id="ERR_CRYPTO_INVALID_AUTH_TAG"></a></p>
209
- */
210
- NodeError["ERR_CRYPTO_INITIALIZATION_FAILED"] = "ERR_CRYPTO_INITIALIZATION_FAILED";
211
- /**
212
- * <p>An invalid authentication tag was provided.</p>
213
- * <p><a id="ERR_CRYPTO_INVALID_COUNTER"></a></p>
214
- */
215
- NodeError["ERR_CRYPTO_INVALID_AUTH_TAG"] = "ERR_CRYPTO_INVALID_AUTH_TAG";
216
- /**
217
- * <p>An invalid counter was provided for a counter-mode cipher.</p>
218
- * <p><a id="ERR_CRYPTO_INVALID_CURVE"></a></p>
219
- */
220
- NodeError["ERR_CRYPTO_INVALID_COUNTER"] = "ERR_CRYPTO_INVALID_COUNTER";
221
- /**
222
- * <p>An invalid elliptic-curve was provided.</p>
223
- * <p><a id="ERR_CRYPTO_INVALID_DIGEST"></a></p>
224
- */
225
- NodeError["ERR_CRYPTO_INVALID_CURVE"] = "ERR_CRYPTO_INVALID_CURVE";
226
- /**
227
- * <p>An invalid <a href="crypto.html#cryptogethashes">crypto digest algorithm</a> was specified.</p>
228
- * <p><a id="ERR_CRYPTO_INVALID_IV"></a></p>
229
- */
230
- NodeError["ERR_CRYPTO_INVALID_DIGEST"] = "ERR_CRYPTO_INVALID_DIGEST";
231
- /**
232
- * <p>An invalid initialization vector was provided.</p>
233
- * <p><a id="ERR_CRYPTO_INVALID_JWK"></a></p>
234
- */
235
- NodeError["ERR_CRYPTO_INVALID_IV"] = "ERR_CRYPTO_INVALID_IV";
236
- /**
237
- * <p>An invalid JSON Web Key was provided.</p>
238
- * <p><a id="ERR_CRYPTO_INVALID_KEYLEN"></a></p>
239
- */
240
- NodeError["ERR_CRYPTO_INVALID_JWK"] = "ERR_CRYPTO_INVALID_JWK";
241
- /**
242
- * <p>An invalid key length was provided.</p>
243
- * <p><a id="ERR_CRYPTO_INVALID_KEYPAIR"></a></p>
244
- */
245
- NodeError["ERR_CRYPTO_INVALID_KEYLEN"] = "ERR_CRYPTO_INVALID_KEYLEN";
246
- /**
247
- * <p>An invalid key pair was provided.</p>
248
- * <p><a id="ERR_CRYPTO_INVALID_KEYTYPE"></a></p>
249
- */
250
- NodeError["ERR_CRYPTO_INVALID_KEYPAIR"] = "ERR_CRYPTO_INVALID_KEYPAIR";
251
- /**
252
- * <p>An invalid key type was provided.</p>
253
- * <p><a id="ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE"></a></p>
254
- */
255
- NodeError["ERR_CRYPTO_INVALID_KEYTYPE"] = "ERR_CRYPTO_INVALID_KEYTYPE";
256
- /**
257
- * <p>The given crypto key object's type is invalid for the attempted operation.</p>
258
- * <p><a id="ERR_CRYPTO_INVALID_MESSAGELEN"></a></p>
259
- */
260
- NodeError["ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE"] = "ERR_CRYPTO_INVALID_KEY_OBJECT_TYPE";
261
- /**
262
- * <p>An invalid message length was provided.</p>
263
- * <p><a id="ERR_CRYPTO_INVALID_SCRYPT_PARAMS"></a></p>
264
- */
265
- NodeError["ERR_CRYPTO_INVALID_MESSAGELEN"] = "ERR_CRYPTO_INVALID_MESSAGELEN";
266
- /**
267
- * <p>One or more <a href="crypto.html#cryptoscryptpassword-salt-keylen-options-callback"><code>crypto.scrypt()</code></a> or <a href="crypto.html#cryptoscryptsyncpassword-salt-keylen-options"><code>crypto.scryptSync()</code></a> parameters are
268
- * outside their legal range.</p>
269
- * <p><a id="ERR_CRYPTO_INVALID_STATE"></a></p>
270
- */
271
- NodeError["ERR_CRYPTO_INVALID_SCRYPT_PARAMS"] = "ERR_CRYPTO_INVALID_SCRYPT_PARAMS";
272
- /**
273
- * <p>A crypto method was used on an object that was in an invalid state. For
274
- * instance, calling <a href="crypto.html#ciphergetauthtag"><code>cipher.getAuthTag()</code></a> before calling <code>cipher.final()</code>.</p>
275
- * <p><a id="ERR_CRYPTO_INVALID_TAG_LENGTH"></a></p>
276
- */
277
- NodeError["ERR_CRYPTO_INVALID_STATE"] = "ERR_CRYPTO_INVALID_STATE";
278
- /**
279
- * <p>An invalid authentication tag length was provided.</p>
280
- * <p><a id="ERR_CRYPTO_JOB_INIT_FAILED"></a></p>
281
- */
282
- NodeError["ERR_CRYPTO_INVALID_TAG_LENGTH"] = "ERR_CRYPTO_INVALID_TAG_LENGTH";
283
- /**
284
- * <p>Initialization of an asynchronous crypto operation failed.</p>
285
- * <p><a id="ERR_CRYPTO_JWK_UNSUPPORTED_CURVE"></a></p>
286
- */
287
- NodeError["ERR_CRYPTO_JOB_INIT_FAILED"] = "ERR_CRYPTO_JOB_INIT_FAILED";
288
- /**
289
- * <p>Key's Elliptic Curve is not registered for use in the
290
- * <a href="https://www.iana.org/assignments/jose/jose.xhtml#web-key-elliptic-curve">JSON Web Key Elliptic Curve Registry</a>.</p>
291
- * <p><a id="ERR_CRYPTO_JWK_UNSUPPORTED_KEY_TYPE"></a></p>
292
- */
293
- NodeError["ERR_CRYPTO_JWK_UNSUPPORTED_CURVE"] = "ERR_CRYPTO_JWK_UNSUPPORTED_CURVE";
294
- /**
295
- * <p>Key's Asymmetric Key Type is not registered for use in the
296
- * <a href="https://www.iana.org/assignments/jose/jose.xhtml#web-key-types">JSON Web Key Types Registry</a>.</p>
297
- * <p><a id="ERR_CRYPTO_OPERATION_FAILED"></a></p>
298
- */
299
- NodeError["ERR_CRYPTO_JWK_UNSUPPORTED_KEY_TYPE"] = "ERR_CRYPTO_JWK_UNSUPPORTED_KEY_TYPE";
300
- /**
301
- * <p>A crypto operation failed for an otherwise unspecified reason.</p>
302
- * <p><a id="ERR_CRYPTO_PBKDF2_ERROR"></a></p>
303
- */
304
- NodeError["ERR_CRYPTO_OPERATION_FAILED"] = "ERR_CRYPTO_OPERATION_FAILED";
305
- /**
306
- * <p>The PBKDF2 algorithm failed for unspecified reasons. OpenSSL does not provide
307
- * more details and therefore neither does Node.js.</p>
308
- * <p><a id="ERR_CRYPTO_SCRYPT_NOT_SUPPORTED"></a></p>
309
- */
310
- NodeError["ERR_CRYPTO_PBKDF2_ERROR"] = "ERR_CRYPTO_PBKDF2_ERROR";
311
- /**
312
- * <p>Node.js was compiled without <code>scrypt</code> support. Not possible with the official
313
- * release binaries but can happen with custom builds, including distro builds.</p>
314
- * <p><a id="ERR_CRYPTO_SIGN_KEY_REQUIRED"></a></p>
315
- */
316
- NodeError["ERR_CRYPTO_SCRYPT_NOT_SUPPORTED"] = "ERR_CRYPTO_SCRYPT_NOT_SUPPORTED";
317
- /**
318
- * <p>A signing <code>key</code> was not provided to the <a href="crypto.html#signsignprivatekey-outputencoding"><code>sign.sign()</code></a> method.</p>
319
- * <p><a id="ERR_CRYPTO_TIMING_SAFE_EQUAL_LENGTH"></a></p>
320
- */
321
- NodeError["ERR_CRYPTO_SIGN_KEY_REQUIRED"] = "ERR_CRYPTO_SIGN_KEY_REQUIRED";
322
- /**
323
- * <p><a href="crypto.html#cryptotimingsafeequala-b"><code>crypto.timingSafeEqual()</code></a> was called with <code>Buffer</code>, <code>TypedArray</code>, or
324
- * <code>DataView</code> arguments of different lengths.</p>
325
- * <p><a id="ERR_CRYPTO_UNKNOWN_CIPHER"></a></p>
326
- */
327
- NodeError["ERR_CRYPTO_TIMING_SAFE_EQUAL_LENGTH"] = "ERR_CRYPTO_TIMING_SAFE_EQUAL_LENGTH";
328
- /**
329
- * <p>An unknown cipher was specified.</p>
330
- * <p><a id="ERR_CRYPTO_UNKNOWN_DH_GROUP"></a></p>
331
- */
332
- NodeError["ERR_CRYPTO_UNKNOWN_CIPHER"] = "ERR_CRYPTO_UNKNOWN_CIPHER";
333
- /**
334
- * <p>An unknown Diffie-Hellman group name was given. See
335
- * <a href="crypto.html#cryptogetdiffiehellmangroupname"><code>crypto.getDiffieHellman()</code></a> for a list of valid group names.</p>
336
- * <p><a id="ERR_CRYPTO_UNSUPPORTED_OPERATION"></a></p>
337
- */
338
- NodeError["ERR_CRYPTO_UNKNOWN_DH_GROUP"] = "ERR_CRYPTO_UNKNOWN_DH_GROUP";
339
- /**
340
- * <p>An attempt to invoke an unsupported crypto operation was made.</p>
341
- * <p><a id="ERR_DEBUGGER_ERROR"></a></p>
342
- */
343
- NodeError["ERR_CRYPTO_UNSUPPORTED_OPERATION"] = "ERR_CRYPTO_UNSUPPORTED_OPERATION";
344
- /**
345
- * <p>An error occurred with the <a href="debugger.html">debugger</a>.</p>
346
- * <p><a id="ERR_DEBUGGER_STARTUP_ERROR"></a></p>
347
- */
348
- NodeError["ERR_DEBUGGER_ERROR"] = "ERR_DEBUGGER_ERROR";
349
- /**
350
- * <p>The <a href="debugger.html">debugger</a> timed out waiting for the required host/port to be free.</p>
351
- * <p><a id="ERR_DIR_CLOSED"></a></p>
352
- */
353
- NodeError["ERR_DEBUGGER_STARTUP_ERROR"] = "ERR_DEBUGGER_STARTUP_ERROR";
354
- /**
355
- * <p>The <a href="fs.html#class-fsdir"><code>fs.Dir</code></a> was previously closed.</p>
356
- * <p><a id="ERR_DIR_CONCURRENT_OPERATION"></a></p>
357
- */
358
- NodeError["ERR_DIR_CLOSED"] = "ERR_DIR_CLOSED";
359
- /**
360
- * <p>A synchronous read or close call was attempted on an <a href="fs.html#class-fsdir"><code>fs.Dir</code></a> which has
361
- * ongoing asynchronous operations.</p>
362
- * <p><a id="ERR_DLOPEN_DISABLED"></a></p>
363
- */
364
- NodeError["ERR_DIR_CONCURRENT_OPERATION"] = "ERR_DIR_CONCURRENT_OPERATION";
365
- /**
366
- * <p>Loading native addons has been disabled using <a href="cli.html#--no-addons"><code>--no-addons</code></a>.</p>
367
- * <p><a id="ERR_DLOPEN_FAILED"></a></p>
368
- */
369
- NodeError["ERR_DLOPEN_DISABLED"] = "ERR_DLOPEN_DISABLED";
370
- /**
371
- * <p>A call to <code>process.dlopen()</code> failed.</p>
372
- * <p><a id="ERR_DNS_SET_SERVERS_FAILED"></a></p>
373
- */
374
- NodeError["ERR_DLOPEN_FAILED"] = "ERR_DLOPEN_FAILED";
375
- /**
376
- * <p><code>c-ares</code> failed to set the DNS server.</p>
377
- * <p><a id="ERR_DOMAIN_CALLBACK_NOT_AVAILABLE"></a></p>
378
- */
379
- NodeError["ERR_DNS_SET_SERVERS_FAILED"] = "ERR_DNS_SET_SERVERS_FAILED";
380
- /**
381
- * <p>The <code>node:domain</code> module was not usable since it could not establish the
382
- * required error handling hooks, because
383
- * <a href="process.html#processsetuncaughtexceptioncapturecallbackfn"><code>process.setUncaughtExceptionCaptureCallback()</code></a> had been called at an
384
- * earlier point in time.</p>
385
- * <p><a id="ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE"></a></p>
386
- */
387
- NodeError["ERR_DOMAIN_CALLBACK_NOT_AVAILABLE"] = "ERR_DOMAIN_CALLBACK_NOT_AVAILABLE";
388
- /**
389
- * <p><a href="process.html#processsetuncaughtexceptioncapturecallbackfn"><code>process.setUncaughtExceptionCaptureCallback()</code></a> could not be called
390
- * because the <code>node:domain</code> module has been loaded at an earlier point in time.</p>
391
- * <p>The stack trace is extended to include the point in time at which the
392
- * <code>node:domain</code> module had been loaded.</p>
393
- * <p><a id="ERR_DUPLICATE_STARTUP_SNAPSHOT_MAIN_FUNCTION"></a></p>
394
- */
395
- NodeError["ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE"] = "ERR_DOMAIN_CANNOT_SET_UNCAUGHT_EXCEPTION_CAPTURE";
396
- /**
397
- * <p><a href="v8.html#v8startupsnapshotsetdeserializemainfunctioncallback-data"><code>v8.startupSnapshot.setDeserializeMainFunction()</code></a> could not be called
398
- * because it had already been called before.</p>
399
- * <p><a id="ERR_ENCODING_INVALID_ENCODED_DATA"></a></p>
400
- */
401
- NodeError["ERR_DUPLICATE_STARTUP_SNAPSHOT_MAIN_FUNCTION"] = "ERR_DUPLICATE_STARTUP_SNAPSHOT_MAIN_FUNCTION";
402
- /**
403
- * <p>Data provided to <code>TextDecoder()</code> API was invalid according to the encoding
404
- * provided.</p>
405
- * <p><a id="ERR_ENCODING_NOT_SUPPORTED"></a></p>
406
- */
407
- NodeError["ERR_ENCODING_INVALID_ENCODED_DATA"] = "ERR_ENCODING_INVALID_ENCODED_DATA";
408
- /**
409
- * <p>Encoding provided to <code>TextDecoder()</code> API was not one of the
410
- * <a href="util.html#whatwg-supported-encodings">WHATWG Supported Encodings</a>.</p>
411
- * <p><a id="ERR_EVAL_ESM_CANNOT_PRINT"></a></p>
412
- */
413
- NodeError["ERR_ENCODING_NOT_SUPPORTED"] = "ERR_ENCODING_NOT_SUPPORTED";
414
- /**
415
- * <p><code>--print</code> cannot be used with ESM input.</p>
416
- * <p><a id="ERR_EVENT_RECURSION"></a></p>
417
- */
418
- NodeError["ERR_EVAL_ESM_CANNOT_PRINT"] = "ERR_EVAL_ESM_CANNOT_PRINT";
419
- /**
420
- * <p>Thrown when an attempt is made to recursively dispatch an event on <code>EventTarget</code>.</p>
421
- * <p><a id="ERR_EXECUTION_ENVIRONMENT_NOT_AVAILABLE"></a></p>
422
- */
423
- NodeError["ERR_EVENT_RECURSION"] = "ERR_EVENT_RECURSION";
424
- /**
425
- * <p>The JS execution context is not associated with a Node.js environment.
426
- * This may occur when Node.js is used as an embedded library and some hooks
427
- * for the JS engine are not set up properly.</p>
428
- * <p><a id="ERR_FALSY_VALUE_REJECTION"></a></p>
429
- */
430
- NodeError["ERR_EXECUTION_ENVIRONMENT_NOT_AVAILABLE"] = "ERR_EXECUTION_ENVIRONMENT_NOT_AVAILABLE";
431
- /**
432
- * <p>A <code>Promise</code> that was callbackified via <code>util.callbackify()</code> was rejected with a
433
- * falsy value.</p>
434
- * <p><a id="ERR_FEATURE_UNAVAILABLE_ON_PLATFORM"></a></p>
435
- */
436
- NodeError["ERR_FALSY_VALUE_REJECTION"] = "ERR_FALSY_VALUE_REJECTION";
437
- /**
438
- * <p>Used when a feature that is not available
439
- * to the current platform which is running Node.js is used.</p>
440
- * <p><a id="ERR_FS_CP_DIR_TO_NON_DIR"></a></p>
441
- */
442
- NodeError["ERR_FEATURE_UNAVAILABLE_ON_PLATFORM"] = "ERR_FEATURE_UNAVAILABLE_ON_PLATFORM";
443
- /**
444
- * <p>An attempt was made to copy a directory to a non-directory (file, symlink,
445
- * etc.) using <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>.</p>
446
- * <p><a id="ERR_FS_CP_EEXIST"></a></p>
447
- */
448
- NodeError["ERR_FS_CP_DIR_TO_NON_DIR"] = "ERR_FS_CP_DIR_TO_NON_DIR";
449
- /**
450
- * <p>An attempt was made to copy over a file that already existed with
451
- * <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>, with the <code>force</code> and <code>errorOnExist</code> set to <code>true</code>.</p>
452
- * <p><a id="ERR_FS_CP_EINVAL"></a></p>
453
- */
454
- NodeError["ERR_FS_CP_EEXIST"] = "ERR_FS_CP_EEXIST";
455
- /**
456
- * <p>When using <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>, <code>src</code> or <code>dest</code> pointed to an invalid path.</p>
457
- * <p><a id="ERR_FS_CP_FIFO_PIPE"></a></p>
458
- */
459
- NodeError["ERR_FS_CP_EINVAL"] = "ERR_FS_CP_EINVAL";
460
- /**
461
- * <p>An attempt was made to copy a named pipe with <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>.</p>
462
- * <p><a id="ERR_FS_CP_NON_DIR_TO_DIR"></a></p>
463
- */
464
- NodeError["ERR_FS_CP_FIFO_PIPE"] = "ERR_FS_CP_FIFO_PIPE";
465
- /**
466
- * <p>An attempt was made to copy a non-directory (file, symlink, etc.) to a directory
467
- * using <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>.</p>
468
- * <p><a id="ERR_FS_CP_SOCKET"></a></p>
469
- */
470
- NodeError["ERR_FS_CP_NON_DIR_TO_DIR"] = "ERR_FS_CP_NON_DIR_TO_DIR";
471
- /**
472
- * <p>An attempt was made to copy to a socket with <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>.</p>
473
- * <p><a id="ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY"></a></p>
474
- */
475
- NodeError["ERR_FS_CP_SOCKET"] = "ERR_FS_CP_SOCKET";
476
- /**
477
- * <p>When using <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>, a symlink in <code>dest</code> pointed to a subdirectory
478
- * of <code>src</code>.</p>
479
- * <p><a id="ERR_FS_CP_UNKNOWN"></a></p>
480
- */
481
- NodeError["ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY"] = "ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY";
482
- /**
483
- * <p>An attempt was made to copy to an unknown file type with <a href="fs.html#fscpsrc-dest-options-callback"><code>fs.cp()</code></a>.</p>
484
- * <p><a id="ERR_FS_EISDIR"></a></p>
485
- */
486
- NodeError["ERR_FS_CP_UNKNOWN"] = "ERR_FS_CP_UNKNOWN";
487
- /**
488
- * <p>Path is a directory.</p>
489
- * <p><a id="ERR_FS_FILE_TOO_LARGE"></a></p>
490
- */
491
- NodeError["ERR_FS_EISDIR"] = "ERR_FS_EISDIR";
492
- /**
493
- * <p>An attempt has been made to read a file whose size is larger than the maximum
494
- * allowed size for a <code>Buffer</code>.</p>
495
- * <p><a id="ERR_HTTP2_ALTSVC_INVALID_ORIGIN"></a></p>
496
- */
497
- NodeError["ERR_FS_FILE_TOO_LARGE"] = "ERR_FS_FILE_TOO_LARGE";
498
- /**
499
- * <p>HTTP/2 ALTSVC frames require a valid origin.</p>
500
- * <p><a id="ERR_HTTP2_ALTSVC_LENGTH"></a></p>
501
- */
502
- NodeError["ERR_HTTP2_ALTSVC_INVALID_ORIGIN"] = "ERR_HTTP2_ALTSVC_INVALID_ORIGIN";
503
- /**
504
- * <p>HTTP/2 ALTSVC frames are limited to a maximum of 16,382 payload bytes.</p>
505
- * <p><a id="ERR_HTTP2_CONNECT_AUTHORITY"></a></p>
506
- */
507
- NodeError["ERR_HTTP2_ALTSVC_LENGTH"] = "ERR_HTTP2_ALTSVC_LENGTH";
508
- /**
509
- * <p>For HTTP/2 requests using the <code>CONNECT</code> method, the <code>:authority</code> pseudo-header
510
- * is required.</p>
511
- * <p><a id="ERR_HTTP2_CONNECT_PATH"></a></p>
512
- */
513
- NodeError["ERR_HTTP2_CONNECT_AUTHORITY"] = "ERR_HTTP2_CONNECT_AUTHORITY";
514
- /**
515
- * <p>For HTTP/2 requests using the <code>CONNECT</code> method, the <code>:path</code> pseudo-header is
516
- * forbidden.</p>
517
- * <p><a id="ERR_HTTP2_CONNECT_SCHEME"></a></p>
518
- */
519
- NodeError["ERR_HTTP2_CONNECT_PATH"] = "ERR_HTTP2_CONNECT_PATH";
520
- /**
521
- * <p>For HTTP/2 requests using the <code>CONNECT</code> method, the <code>:scheme</code> pseudo-header is
522
- * forbidden.</p>
523
- * <p><a id="ERR_HTTP2_ERROR"></a></p>
524
- */
525
- NodeError["ERR_HTTP2_CONNECT_SCHEME"] = "ERR_HTTP2_CONNECT_SCHEME";
526
- /**
527
- * <p>A non-specific HTTP/2 error has occurred.</p>
528
- * <p><a id="ERR_HTTP2_GOAWAY_SESSION"></a></p>
529
- */
530
- NodeError["ERR_HTTP2_ERROR"] = "ERR_HTTP2_ERROR";
531
- /**
532
- * <p>New HTTP/2 Streams may not be opened after the <code>Http2Session</code> has received a
533
- * <code>GOAWAY</code> frame from the connected peer.</p>
534
- * <p><a id="ERR_HTTP2_HEADERS_AFTER_RESPOND"></a></p>
535
- */
536
- NodeError["ERR_HTTP2_GOAWAY_SESSION"] = "ERR_HTTP2_GOAWAY_SESSION";
537
- /**
538
- * <p>An additional headers was specified after an HTTP/2 response was initiated.</p>
539
- * <p><a id="ERR_HTTP2_HEADERS_SENT"></a></p>
540
- */
541
- NodeError["ERR_HTTP2_HEADERS_AFTER_RESPOND"] = "ERR_HTTP2_HEADERS_AFTER_RESPOND";
542
- /**
543
- * <p>An attempt was made to send multiple response headers.</p>
544
- * <p><a id="ERR_HTTP2_HEADER_SINGLE_VALUE"></a></p>
545
- */
546
- NodeError["ERR_HTTP2_HEADERS_SENT"] = "ERR_HTTP2_HEADERS_SENT";
547
- /**
548
- * <p>Multiple values were provided for an HTTP/2 header field that was required to
549
- * have only a single value.</p>
550
- * <p><a id="ERR_HTTP2_INFO_STATUS_NOT_ALLOWED"></a></p>
551
- */
552
- NodeError["ERR_HTTP2_HEADER_SINGLE_VALUE"] = "ERR_HTTP2_HEADER_SINGLE_VALUE";
553
- /**
554
- * <p>Informational HTTP status codes (<code>1xx</code>) may not be set as the response status
555
- * code on HTTP/2 responses.</p>
556
- * <p><a id="ERR_HTTP2_INVALID_CONNECTION_HEADERS"></a></p>
557
- */
558
- NodeError["ERR_HTTP2_INFO_STATUS_NOT_ALLOWED"] = "ERR_HTTP2_INFO_STATUS_NOT_ALLOWED";
559
- /**
560
- * <p>HTTP/1 connection specific headers are forbidden to be used in HTTP/2
561
- * requests and responses.</p>
562
- * <p><a id="ERR_HTTP2_INVALID_HEADER_VALUE"></a></p>
563
- */
564
- NodeError["ERR_HTTP2_INVALID_CONNECTION_HEADERS"] = "ERR_HTTP2_INVALID_CONNECTION_HEADERS";
565
- /**
566
- * <p>An invalid HTTP/2 header value was specified.</p>
567
- * <p><a id="ERR_HTTP2_INVALID_INFO_STATUS"></a></p>
568
- */
569
- NodeError["ERR_HTTP2_INVALID_HEADER_VALUE"] = "ERR_HTTP2_INVALID_HEADER_VALUE";
570
- /**
571
- * <p>An invalid HTTP informational status code has been specified. Informational
572
- * status codes must be an integer between <code>100</code> and <code>199</code> (inclusive).</p>
573
- * <p><a id="ERR_HTTP2_INVALID_ORIGIN"></a></p>
574
- */
575
- NodeError["ERR_HTTP2_INVALID_INFO_STATUS"] = "ERR_HTTP2_INVALID_INFO_STATUS";
576
- /**
577
- * <p>HTTP/2 <code>ORIGIN</code> frames require a valid origin.</p>
578
- * <p><a id="ERR_HTTP2_INVALID_PACKED_SETTINGS_LENGTH"></a></p>
579
- */
580
- NodeError["ERR_HTTP2_INVALID_ORIGIN"] = "ERR_HTTP2_INVALID_ORIGIN";
581
- /**
582
- * <p>Input <code>Buffer</code> and <code>Uint8Array</code> instances passed to the
583
- * <code>http2.getUnpackedSettings()</code> API must have a length that is a multiple of
584
- * six.</p>
585
- * <p><a id="ERR_HTTP2_INVALID_PSEUDOHEADER"></a></p>
586
- */
587
- NodeError["ERR_HTTP2_INVALID_PACKED_SETTINGS_LENGTH"] = "ERR_HTTP2_INVALID_PACKED_SETTINGS_LENGTH";
588
- /**
589
- * <p>Only valid HTTP/2 pseudoheaders (<code>:status</code>, <code>:path</code>, <code>:authority</code>, <code>:scheme</code>,
590
- * and <code>:method</code>) may be used.</p>
591
- * <p><a id="ERR_HTTP2_INVALID_SESSION"></a></p>
592
- */
593
- NodeError["ERR_HTTP2_INVALID_PSEUDOHEADER"] = "ERR_HTTP2_INVALID_PSEUDOHEADER";
594
- /**
595
- * <p>An action was performed on an <code>Http2Session</code> object that had already been
596
- * destroyed.</p>
597
- * <p><a id="ERR_HTTP2_INVALID_SETTING_VALUE"></a></p>
598
- */
599
- NodeError["ERR_HTTP2_INVALID_SESSION"] = "ERR_HTTP2_INVALID_SESSION";
600
- /**
601
- * <p>An invalid value has been specified for an HTTP/2 setting.</p>
602
- * <p><a id="ERR_HTTP2_INVALID_STREAM"></a></p>
603
- */
604
- NodeError["ERR_HTTP2_INVALID_SETTING_VALUE"] = "ERR_HTTP2_INVALID_SETTING_VALUE";
605
- /**
606
- * <p>An operation was performed on a stream that had already been destroyed.</p>
607
- * <p><a id="ERR_HTTP2_MAX_PENDING_SETTINGS_ACK"></a></p>
608
- */
609
- NodeError["ERR_HTTP2_INVALID_STREAM"] = "ERR_HTTP2_INVALID_STREAM";
610
- /**
611
- * <p>Whenever an HTTP/2 <code>SETTINGS</code> frame is sent to a connected peer, the peer is
612
- * required to send an acknowledgment that it has received and applied the new
613
- * <code>SETTINGS</code>. By default, a maximum number of unacknowledged <code>SETTINGS</code> frames may
614
- * be sent at any given time. This error code is used when that limit has been
615
- * reached.</p>
616
- * <p><a id="ERR_HTTP2_NESTED_PUSH"></a></p>
617
- */
618
- NodeError["ERR_HTTP2_MAX_PENDING_SETTINGS_ACK"] = "ERR_HTTP2_MAX_PENDING_SETTINGS_ACK";
619
- /**
620
- * <p>An attempt was made to initiate a new push stream from within a push stream.
621
- * Nested push streams are not permitted.</p>
622
- * <p><a id="ERR_HTTP2_NO_MEM"></a></p>
623
- */
624
- NodeError["ERR_HTTP2_NESTED_PUSH"] = "ERR_HTTP2_NESTED_PUSH";
625
- /**
626
- * <p>Out of memory when using the <code>http2session.setLocalWindowSize(windowSize)</code> API.</p>
627
- * <p><a id="ERR_HTTP2_NO_SOCKET_MANIPULATION"></a></p>
628
- */
629
- NodeError["ERR_HTTP2_NO_MEM"] = "ERR_HTTP2_NO_MEM";
630
- /**
631
- * <p>An attempt was made to directly manipulate (read, write, pause, resume, etc.) a
632
- * socket attached to an <code>Http2Session</code>.</p>
633
- * <p><a id="ERR_HTTP2_ORIGIN_LENGTH"></a></p>
634
- */
635
- NodeError["ERR_HTTP2_NO_SOCKET_MANIPULATION"] = "ERR_HTTP2_NO_SOCKET_MANIPULATION";
636
- /**
637
- * <p>HTTP/2 <code>ORIGIN</code> frames are limited to a length of 16382 bytes.</p>
638
- * <p><a id="ERR_HTTP2_OUT_OF_STREAMS"></a></p>
639
- */
640
- NodeError["ERR_HTTP2_ORIGIN_LENGTH"] = "ERR_HTTP2_ORIGIN_LENGTH";
641
- /**
642
- * <p>The number of streams created on a single HTTP/2 session reached the maximum
643
- * limit.</p>
644
- * <p><a id="ERR_HTTP2_PAYLOAD_FORBIDDEN"></a></p>
645
- */
646
- NodeError["ERR_HTTP2_OUT_OF_STREAMS"] = "ERR_HTTP2_OUT_OF_STREAMS";
647
- /**
648
- * <p>A message payload was specified for an HTTP response code for which a payload is
649
- * forbidden.</p>
650
- * <p><a id="ERR_HTTP2_PING_CANCEL"></a></p>
651
- */
652
- NodeError["ERR_HTTP2_PAYLOAD_FORBIDDEN"] = "ERR_HTTP2_PAYLOAD_FORBIDDEN";
653
- /**
654
- * <p>An HTTP/2 ping was canceled.</p>
655
- * <p><a id="ERR_HTTP2_PING_LENGTH"></a></p>
656
- */
657
- NodeError["ERR_HTTP2_PING_CANCEL"] = "ERR_HTTP2_PING_CANCEL";
658
- /**
659
- * <p>HTTP/2 ping payloads must be exactly 8 bytes in length.</p>
660
- * <p><a id="ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED"></a></p>
661
- */
662
- NodeError["ERR_HTTP2_PING_LENGTH"] = "ERR_HTTP2_PING_LENGTH";
663
- /**
664
- * <p>An HTTP/2 pseudo-header has been used inappropriately. Pseudo-headers are header
665
- * key names that begin with the <code>:</code> prefix.</p>
666
- * <p><a id="ERR_HTTP2_PUSH_DISABLED"></a></p>
667
- */
668
- NodeError["ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED"] = "ERR_HTTP2_PSEUDOHEADER_NOT_ALLOWED";
669
- /**
670
- * <p>An attempt was made to create a push stream, which had been disabled by the
671
- * client.</p>
672
- * <p><a id="ERR_HTTP2_SEND_FILE"></a></p>
673
- */
674
- NodeError["ERR_HTTP2_PUSH_DISABLED"] = "ERR_HTTP2_PUSH_DISABLED";
675
- /**
676
- * <p>An attempt was made to use the <code>Http2Stream.prototype.responseWithFile()</code> API to
677
- * send a directory.</p>
678
- * <p><a id="ERR_HTTP2_SEND_FILE_NOSEEK"></a></p>
679
- */
680
- NodeError["ERR_HTTP2_SEND_FILE"] = "ERR_HTTP2_SEND_FILE";
681
- /**
682
- * <p>An attempt was made to use the <code>Http2Stream.prototype.responseWithFile()</code> API to
683
- * send something other than a regular file, but <code>offset</code> or <code>length</code> options were
684
- * provided.</p>
685
- * <p><a id="ERR_HTTP2_SESSION_ERROR"></a></p>
686
- */
687
- NodeError["ERR_HTTP2_SEND_FILE_NOSEEK"] = "ERR_HTTP2_SEND_FILE_NOSEEK";
688
- /**
689
- * <p>The <code>Http2Session</code> closed with a non-zero error code.</p>
690
- * <p><a id="ERR_HTTP2_SETTINGS_CANCEL"></a></p>
691
- */
692
- NodeError["ERR_HTTP2_SESSION_ERROR"] = "ERR_HTTP2_SESSION_ERROR";
693
- /**
694
- * <p>The <code>Http2Session</code> settings canceled.</p>
695
- * <p><a id="ERR_HTTP2_SOCKET_BOUND"></a></p>
696
- */
697
- NodeError["ERR_HTTP2_SETTINGS_CANCEL"] = "ERR_HTTP2_SETTINGS_CANCEL";
698
- /**
699
- * <p>An attempt was made to connect a <code>Http2Session</code> object to a <code>net.Socket</code> or
700
- * <code>tls.TLSSocket</code> that had already been bound to another <code>Http2Session</code> object.</p>
701
- * <p><a id="ERR_HTTP2_SOCKET_UNBOUND"></a></p>
702
- */
703
- NodeError["ERR_HTTP2_SOCKET_BOUND"] = "ERR_HTTP2_SOCKET_BOUND";
704
- /**
705
- * <p>An attempt was made to use the <code>socket</code> property of an <code>Http2Session</code> that
706
- * has already been closed.</p>
707
- * <p><a id="ERR_HTTP2_STATUS_101"></a></p>
708
- */
709
- NodeError["ERR_HTTP2_SOCKET_UNBOUND"] = "ERR_HTTP2_SOCKET_UNBOUND";
710
- /**
711
- * <p>Use of the <code>101</code> Informational status code is forbidden in HTTP/2.</p>
712
- * <p><a id="ERR_HTTP2_STATUS_INVALID"></a></p>
713
- */
714
- NodeError["ERR_HTTP2_STATUS_101"] = "ERR_HTTP2_STATUS_101";
715
- /**
716
- * <p>An invalid HTTP status code has been specified. Status codes must be an integer
717
- * between <code>100</code> and <code>599</code> (inclusive).</p>
718
- * <p><a id="ERR_HTTP2_STREAM_CANCEL"></a></p>
719
- */
720
- NodeError["ERR_HTTP2_STATUS_INVALID"] = "ERR_HTTP2_STATUS_INVALID";
721
- /**
722
- * <p>An <code>Http2Stream</code> was destroyed before any data was transmitted to the connected
723
- * peer.</p>
724
- * <p><a id="ERR_HTTP2_STREAM_ERROR"></a></p>
725
- */
726
- NodeError["ERR_HTTP2_STREAM_CANCEL"] = "ERR_HTTP2_STREAM_CANCEL";
727
- /**
728
- * <p>A non-zero error code was been specified in an <code>RST_STREAM</code> frame.</p>
729
- * <p><a id="ERR_HTTP2_STREAM_SELF_DEPENDENCY"></a></p>
730
- */
731
- NodeError["ERR_HTTP2_STREAM_ERROR"] = "ERR_HTTP2_STREAM_ERROR";
732
- /**
733
- * <p>When setting the priority for an HTTP/2 stream, the stream may be marked as
734
- * a dependency for a parent stream. This error code is used when an attempt is
735
- * made to mark a stream and dependent of itself.</p>
736
- * <p><a id="ERR_HTTP2_TOO_MANY_CUSTOM_SETTINGS"></a></p>
737
- */
738
- NodeError["ERR_HTTP2_STREAM_SELF_DEPENDENCY"] = "ERR_HTTP2_STREAM_SELF_DEPENDENCY";
739
- /**
740
- * <p>The number of supported custom settings (10) has been exceeded.</p>
741
- * <p><a id="ERR_HTTP2_TOO_MANY_INVALID_FRAMES"></a></p>
742
- */
743
- NodeError["ERR_HTTP2_TOO_MANY_CUSTOM_SETTINGS"] = "ERR_HTTP2_TOO_MANY_CUSTOM_SETTINGS";
744
- /**
745
- * <p>The limit of acceptable invalid HTTP/2 protocol frames sent by the peer,
746
- * as specified through the <code>maxSessionInvalidFrames</code> option, has been exceeded.</p>
747
- * <p><a id="ERR_HTTP2_TRAILERS_ALREADY_SENT"></a></p>
748
- */
749
- NodeError["ERR_HTTP2_TOO_MANY_INVALID_FRAMES"] = "ERR_HTTP2_TOO_MANY_INVALID_FRAMES";
750
- /**
751
- * <p>Trailing headers have already been sent on the <code>Http2Stream</code>.</p>
752
- * <p><a id="ERR_HTTP2_TRAILERS_NOT_READY"></a></p>
753
- */
754
- NodeError["ERR_HTTP2_TRAILERS_ALREADY_SENT"] = "ERR_HTTP2_TRAILERS_ALREADY_SENT";
755
- /**
756
- * <p>The <code>http2stream.sendTrailers()</code> method cannot be called until after the
757
- * <code>'wantTrailers'</code> event is emitted on an <code>Http2Stream</code> object. The
758
- * <code>'wantTrailers'</code> event will only be emitted if the <code>waitForTrailers</code> option
759
- * is set for the <code>Http2Stream</code>.</p>
760
- * <p><a id="ERR_HTTP2_UNSUPPORTED_PROTOCOL"></a></p>
761
- */
762
- NodeError["ERR_HTTP2_TRAILERS_NOT_READY"] = "ERR_HTTP2_TRAILERS_NOT_READY";
763
- /**
764
- * <p><code>http2.connect()</code> was passed a URL that uses any protocol other than <code>http:</code> or
765
- * <code>https:</code>.</p>
766
- * <p><a id="ERR_HTTP_BODY_NOT_ALLOWED"></a></p>
767
- */
768
- NodeError["ERR_HTTP2_UNSUPPORTED_PROTOCOL"] = "ERR_HTTP2_UNSUPPORTED_PROTOCOL";
769
- /**
770
- * <p>An error is thrown when writing to an HTTP response which does not allow
771
- * contents.</p>
772
- * <p><a id="ERR_HTTP_CONTENT_LENGTH_MISMATCH"></a></p>
773
- */
774
- NodeError["ERR_HTTP_BODY_NOT_ALLOWED"] = "ERR_HTTP_BODY_NOT_ALLOWED";
775
- /**
776
- * <p>Response body size doesn't match with the specified content-length header value.</p>
777
- * <p><a id="ERR_HTTP_HEADERS_SENT"></a></p>
778
- */
779
- NodeError["ERR_HTTP_CONTENT_LENGTH_MISMATCH"] = "ERR_HTTP_CONTENT_LENGTH_MISMATCH";
780
- /**
781
- * <p>An attempt was made to add more headers after the headers had already been sent.</p>
782
- * <p><a id="ERR_HTTP_INVALID_HEADER_VALUE"></a></p>
783
- */
784
- NodeError["ERR_HTTP_HEADERS_SENT"] = "ERR_HTTP_HEADERS_SENT";
785
- /**
786
- * <p>An invalid HTTP header value was specified.</p>
787
- * <p><a id="ERR_HTTP_INVALID_STATUS_CODE"></a></p>
788
- */
789
- NodeError["ERR_HTTP_INVALID_HEADER_VALUE"] = "ERR_HTTP_INVALID_HEADER_VALUE";
790
- /**
791
- * <p>Status code was outside the regular status code range (100-999).</p>
792
- * <p><a id="ERR_HTTP_REQUEST_TIMEOUT"></a></p>
793
- */
794
- NodeError["ERR_HTTP_INVALID_STATUS_CODE"] = "ERR_HTTP_INVALID_STATUS_CODE";
795
- /**
796
- * <p>The client has not sent the entire request within the allowed time.</p>
797
- * <p><a id="ERR_HTTP_SOCKET_ASSIGNED"></a></p>
798
- */
799
- NodeError["ERR_HTTP_REQUEST_TIMEOUT"] = "ERR_HTTP_REQUEST_TIMEOUT";
800
- /**
801
- * <p>The given <a href="http.html#class-httpserverresponse"><code>ServerResponse</code></a> was already assigned a socket.</p>
802
- * <p><a id="ERR_HTTP_SOCKET_ENCODING"></a></p>
803
- */
804
- NodeError["ERR_HTTP_SOCKET_ASSIGNED"] = "ERR_HTTP_SOCKET_ASSIGNED";
805
- /**
806
- * <p>Changing the socket encoding is not allowed per <a href="https://tools.ietf.org/html/rfc7230#section-3">RFC 7230 Section 3</a>.</p>
807
- * <p><a id="ERR_HTTP_TRAILER_INVALID"></a></p>
808
- */
809
- NodeError["ERR_HTTP_SOCKET_ENCODING"] = "ERR_HTTP_SOCKET_ENCODING";
810
- /**
811
- * <p>The <code>Trailer</code> header was set even though the transfer encoding does not support
812
- * that.</p>
813
- * <p><a id="ERR_ILLEGAL_CONSTRUCTOR"></a></p>
814
- */
815
- NodeError["ERR_HTTP_TRAILER_INVALID"] = "ERR_HTTP_TRAILER_INVALID";
816
- /**
817
- * <p>An attempt was made to construct an object using a non-public constructor.</p>
818
- * <p><a id="ERR_IMPORT_ATTRIBUTE_MISSING"></a></p>
819
- */
820
- NodeError["ERR_ILLEGAL_CONSTRUCTOR"] = "ERR_ILLEGAL_CONSTRUCTOR";
821
- /**
822
- * <p>An import attribute is missing, preventing the specified module to be imported.</p>
823
- * <p><a id="ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE"></a></p>
824
- */
825
- NodeError["ERR_IMPORT_ATTRIBUTE_MISSING"] = "ERR_IMPORT_ATTRIBUTE_MISSING";
826
- /**
827
- * <p>An import <code>type</code> attribute was provided, but the specified module is of a
828
- * different type.</p>
829
- * <p><a id="ERR_IMPORT_ATTRIBUTE_UNSUPPORTED"></a></p>
830
- */
831
- NodeError["ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE"] = "ERR_IMPORT_ATTRIBUTE_TYPE_INCOMPATIBLE";
832
- /**
833
- * <p>An import attribute is not supported by this version of Node.js.</p>
834
- * <p><a id="ERR_INCOMPATIBLE_OPTION_PAIR"></a></p>
835
- */
836
- NodeError["ERR_IMPORT_ATTRIBUTE_UNSUPPORTED"] = "ERR_IMPORT_ATTRIBUTE_UNSUPPORTED";
837
- /**
838
- * <p>An option pair is incompatible with each other and cannot be used at the same
839
- * time.</p>
840
- * <p><a id="ERR_INPUT_TYPE_NOT_ALLOWED"></a></p>
841
- */
842
- NodeError["ERR_INCOMPATIBLE_OPTION_PAIR"] = "ERR_INCOMPATIBLE_OPTION_PAIR";
843
- /**
844
- * <p>The <code>--input-type</code> flag was used to attempt to execute a file. This flag can
845
- * only be used with input via <code>--eval</code>, <code>--print</code>, or <code>STDIN</code>.</p>
846
- * <p><a id="ERR_INSPECTOR_ALREADY_ACTIVATED"></a></p>
847
- */
848
- NodeError["ERR_INPUT_TYPE_NOT_ALLOWED"] = "ERR_INPUT_TYPE_NOT_ALLOWED";
849
- /**
850
- * <p>While using the <code>node:inspector</code> module, an attempt was made to activate the
851
- * inspector when it already started to listen on a port. Use <code>inspector.close()</code>
852
- * before activating it on a different address.</p>
853
- * <p><a id="ERR_INSPECTOR_ALREADY_CONNECTED"></a></p>
854
- */
855
- NodeError["ERR_INSPECTOR_ALREADY_ACTIVATED"] = "ERR_INSPECTOR_ALREADY_ACTIVATED";
856
- /**
857
- * <p>While using the <code>node:inspector</code> module, an attempt was made to connect when the
858
- * inspector was already connected.</p>
859
- * <p><a id="ERR_INSPECTOR_CLOSED"></a></p>
860
- */
861
- NodeError["ERR_INSPECTOR_ALREADY_CONNECTED"] = "ERR_INSPECTOR_ALREADY_CONNECTED";
862
- /**
863
- * <p>While using the <code>node:inspector</code> module, an attempt was made to use the
864
- * inspector after the session had already closed.</p>
865
- * <p><a id="ERR_INSPECTOR_COMMAND"></a></p>
866
- */
867
- NodeError["ERR_INSPECTOR_CLOSED"] = "ERR_INSPECTOR_CLOSED";
868
- /**
869
- * <p>An error occurred while issuing a command via the <code>node:inspector</code> module.</p>
870
- * <p><a id="ERR_INSPECTOR_NOT_ACTIVE"></a></p>
871
- */
872
- NodeError["ERR_INSPECTOR_COMMAND"] = "ERR_INSPECTOR_COMMAND";
873
- /**
874
- * <p>The <code>inspector</code> is not active when <code>inspector.waitForDebugger()</code> is called.</p>
875
- * <p><a id="ERR_INSPECTOR_NOT_AVAILABLE"></a></p>
876
- */
877
- NodeError["ERR_INSPECTOR_NOT_ACTIVE"] = "ERR_INSPECTOR_NOT_ACTIVE";
878
- /**
879
- * <p>The <code>node:inspector</code> module is not available for use.</p>
880
- * <p><a id="ERR_INSPECTOR_NOT_CONNECTED"></a></p>
881
- */
882
- NodeError["ERR_INSPECTOR_NOT_AVAILABLE"] = "ERR_INSPECTOR_NOT_AVAILABLE";
883
- /**
884
- * <p>While using the <code>node:inspector</code> module, an attempt was made to use the
885
- * inspector before it was connected.</p>
886
- * <p><a id="ERR_INSPECTOR_NOT_WORKER"></a></p>
887
- */
888
- NodeError["ERR_INSPECTOR_NOT_CONNECTED"] = "ERR_INSPECTOR_NOT_CONNECTED";
889
- /**
890
- * <p>An API was called on the main thread that can only be used from
891
- * the worker thread.</p>
892
- * <p><a id="ERR_INTERNAL_ASSERTION"></a></p>
893
- */
894
- NodeError["ERR_INSPECTOR_NOT_WORKER"] = "ERR_INSPECTOR_NOT_WORKER";
895
- /**
896
- * <p>There was a bug in Node.js or incorrect usage of Node.js internals.
897
- * To fix the error, open an issue at <a href="https://github.com/nodejs/node/issues">https://github.com/nodejs/node/issues</a>.</p>
898
- * <p><a id="ERR_INVALID_ADDRESS"></a></p>
899
- */
900
- NodeError["ERR_INTERNAL_ASSERTION"] = "ERR_INTERNAL_ASSERTION";
901
- /**
902
- * <p>The provided address is not understood by the Node.js API.</p>
903
- * <p><a id="ERR_INVALID_ADDRESS_FAMILY"></a></p>
904
- */
905
- NodeError["ERR_INVALID_ADDRESS"] = "ERR_INVALID_ADDRESS";
906
- /**
907
- * <p>The provided address family is not understood by the Node.js API.</p>
908
- * <p><a id="ERR_INVALID_ARG_TYPE"></a></p>
909
- */
910
- NodeError["ERR_INVALID_ADDRESS_FAMILY"] = "ERR_INVALID_ADDRESS_FAMILY";
911
- /**
912
- * <p>An argument of the wrong type was passed to a Node.js API.</p>
913
- * <p><a id="ERR_INVALID_ARG_VALUE"></a></p>
914
- */
915
- NodeError["ERR_INVALID_ARG_TYPE"] = "ERR_INVALID_ARG_TYPE";
916
- /**
917
- * <p>An invalid or unsupported value was passed for a given argument.</p>
918
- * <p><a id="ERR_INVALID_ASYNC_ID"></a></p>
919
- */
920
- NodeError["ERR_INVALID_ARG_VALUE"] = "ERR_INVALID_ARG_VALUE";
921
- /**
922
- * <p>An invalid <code>asyncId</code> or <code>triggerAsyncId</code> was passed using <code>AsyncHooks</code>. An id
923
- * less than -1 should never happen.</p>
924
- * <p><a id="ERR_INVALID_BUFFER_SIZE"></a></p>
925
- */
926
- NodeError["ERR_INVALID_ASYNC_ID"] = "ERR_INVALID_ASYNC_ID";
927
- /**
928
- * <p>A swap was performed on a <code>Buffer</code> but its size was not compatible with the
929
- * operation.</p>
930
- * <p><a id="ERR_INVALID_CHAR"></a></p>
931
- */
932
- NodeError["ERR_INVALID_BUFFER_SIZE"] = "ERR_INVALID_BUFFER_SIZE";
933
- /**
934
- * <p>Invalid characters were detected in headers.</p>
935
- * <p><a id="ERR_INVALID_CURSOR_POS"></a></p>
936
- */
937
- NodeError["ERR_INVALID_CHAR"] = "ERR_INVALID_CHAR";
938
- /**
939
- * <p>A cursor on a given stream cannot be moved to a specified row without a
940
- * specified column.</p>
941
- * <p><a id="ERR_INVALID_FD"></a></p>
942
- */
943
- NodeError["ERR_INVALID_CURSOR_POS"] = "ERR_INVALID_CURSOR_POS";
944
- /**
945
- * <p>A file descriptor ('fd') was not valid (e.g. it was a negative value).</p>
946
- * <p><a id="ERR_INVALID_FD_TYPE"></a></p>
947
- */
948
- NodeError["ERR_INVALID_FD"] = "ERR_INVALID_FD";
949
- /**
950
- * <p>A file descriptor ('fd') type was not valid.</p>
951
- * <p><a id="ERR_INVALID_FILE_URL_HOST"></a></p>
952
- */
953
- NodeError["ERR_INVALID_FD_TYPE"] = "ERR_INVALID_FD_TYPE";
954
- /**
955
- * <p>A Node.js API that consumes <code>file:</code> URLs (such as certain functions in the
956
- * <a href="fs.html"><code>fs</code></a> module) encountered a file URL with an incompatible host. This
957
- * situation can only occur on Unix-like systems where only <code>localhost</code> or an empty
958
- * host is supported.</p>
959
- * <p><a id="ERR_INVALID_FILE_URL_PATH"></a></p>
960
- */
961
- NodeError["ERR_INVALID_FILE_URL_HOST"] = "ERR_INVALID_FILE_URL_HOST";
962
- /**
963
- * <p>A Node.js API that consumes <code>file:</code> URLs (such as certain functions in the
964
- * <a href="fs.html"><code>fs</code></a> module) encountered a file URL with an incompatible path. The exact
965
- * semantics for determining whether a path can be used is platform-dependent.</p>
966
- * <p><a id="ERR_INVALID_HANDLE_TYPE"></a></p>
967
- */
968
- NodeError["ERR_INVALID_FILE_URL_PATH"] = "ERR_INVALID_FILE_URL_PATH";
969
- /**
970
- * <p>An attempt was made to send an unsupported "handle" over an IPC communication
971
- * channel to a child process. See <a href="child_process.html#subprocesssendmessage-sendhandle-options-callback"><code>subprocess.send()</code></a> and <a href="process.html#processsendmessage-sendhandle-options-callback"><code>process.send()</code></a>
972
- * for more information.</p>
973
- * <p><a id="ERR_INVALID_HTTP_TOKEN"></a></p>
974
- */
975
- NodeError["ERR_INVALID_HANDLE_TYPE"] = "ERR_INVALID_HANDLE_TYPE";
976
- /**
977
- * <p>An invalid HTTP token was supplied.</p>
978
- * <p><a id="ERR_INVALID_IP_ADDRESS"></a></p>
979
- */
980
- NodeError["ERR_INVALID_HTTP_TOKEN"] = "ERR_INVALID_HTTP_TOKEN";
981
- /**
982
- * <p>An IP address is not valid.</p>
983
- * <p><a id="ERR_INVALID_MIME_SYNTAX"></a></p>
984
- */
985
- NodeError["ERR_INVALID_IP_ADDRESS"] = "ERR_INVALID_IP_ADDRESS";
986
- /**
987
- * <p>The syntax of a MIME is not valid.</p>
988
- * <p><a id="ERR_INVALID_MODULE"></a></p>
989
- */
990
- NodeError["ERR_INVALID_MIME_SYNTAX"] = "ERR_INVALID_MIME_SYNTAX";
991
- /**
992
- * <p>An attempt was made to load a module that does not exist or was otherwise not
993
- * valid.</p>
994
- * <p><a id="ERR_INVALID_MODULE_SPECIFIER"></a></p>
995
- */
996
- NodeError["ERR_INVALID_MODULE"] = "ERR_INVALID_MODULE";
997
- /**
998
- * <p>The imported module string is an invalid URL, package name, or package subpath
999
- * specifier.</p>
1000
- * <p><a id="ERR_INVALID_OBJECT_DEFINE_PROPERTY"></a></p>
1001
- */
1002
- NodeError["ERR_INVALID_MODULE_SPECIFIER"] = "ERR_INVALID_MODULE_SPECIFIER";
1003
- /**
1004
- * <p>An error occurred while setting an invalid attribute on the property of
1005
- * an object.</p>
1006
- * <p><a id="ERR_INVALID_PACKAGE_CONFIG"></a></p>
1007
- */
1008
- NodeError["ERR_INVALID_OBJECT_DEFINE_PROPERTY"] = "ERR_INVALID_OBJECT_DEFINE_PROPERTY";
1009
- /**
1010
- * <p>An invalid <a href="packages.html#nodejs-packagejson-field-definitions"><code>package.json</code></a> file failed parsing.</p>
1011
- * <p><a id="ERR_INVALID_PACKAGE_TARGET"></a></p>
1012
- */
1013
- NodeError["ERR_INVALID_PACKAGE_CONFIG"] = "ERR_INVALID_PACKAGE_CONFIG";
1014
- /**
1015
- * <p>The <code>package.json</code> <a href="packages.html#exports"><code>"exports"</code></a> field contains an invalid target mapping
1016
- * value for the attempted module resolution.</p>
1017
- * <p><a id="ERR_INVALID_PROTOCOL"></a></p>
1018
- */
1019
- NodeError["ERR_INVALID_PACKAGE_TARGET"] = "ERR_INVALID_PACKAGE_TARGET";
1020
- /**
1021
- * <p>An invalid <code>options.protocol</code> was passed to <code>http.request()</code>.</p>
1022
- * <p><a id="ERR_INVALID_REPL_EVAL_CONFIG"></a></p>
1023
- */
1024
- NodeError["ERR_INVALID_PROTOCOL"] = "ERR_INVALID_PROTOCOL";
1025
- /**
1026
- * <p>Both <code>breakEvalOnSigint</code> and <code>eval</code> options were set in the <a href="repl.html"><code>REPL</code></a> config,
1027
- * which is not supported.</p>
1028
- * <p><a id="ERR_INVALID_REPL_INPUT"></a></p>
1029
- */
1030
- NodeError["ERR_INVALID_REPL_EVAL_CONFIG"] = "ERR_INVALID_REPL_EVAL_CONFIG";
1031
- /**
1032
- * <p>The input may not be used in the <a href="repl.html"><code>REPL</code></a>. The conditions under which this
1033
- * error is used are described in the <a href="repl.html"><code>REPL</code></a> documentation.</p>
1034
- * <p><a id="ERR_INVALID_RETURN_PROPERTY"></a></p>
1035
- */
1036
- NodeError["ERR_INVALID_REPL_INPUT"] = "ERR_INVALID_REPL_INPUT";
1037
- /**
1038
- * <p>Thrown in case a function option does not provide a valid value for one of its
1039
- * returned object properties on execution.</p>
1040
- * <p><a id="ERR_INVALID_RETURN_PROPERTY_VALUE"></a></p>
1041
- */
1042
- NodeError["ERR_INVALID_RETURN_PROPERTY"] = "ERR_INVALID_RETURN_PROPERTY";
1043
- /**
1044
- * <p>Thrown in case a function option does not provide an expected value
1045
- * type for one of its returned object properties on execution.</p>
1046
- * <p><a id="ERR_INVALID_RETURN_VALUE"></a></p>
1047
- */
1048
- NodeError["ERR_INVALID_RETURN_PROPERTY_VALUE"] = "ERR_INVALID_RETURN_PROPERTY_VALUE";
1049
- /**
1050
- * <p>Thrown in case a function option does not return an expected value
1051
- * type on execution, such as when a function is expected to return a promise.</p>
1052
- * <p><a id="ERR_INVALID_STATE"></a></p>
1053
- */
1054
- NodeError["ERR_INVALID_RETURN_VALUE"] = "ERR_INVALID_RETURN_VALUE";
1055
- /**
1056
- * <p>Indicates that an operation cannot be completed due to an invalid state.
1057
- * For instance, an object may have already been destroyed, or may be
1058
- * performing another operation.</p>
1059
- * <p><a id="ERR_INVALID_SYNC_FORK_INPUT"></a></p>
1060
- */
1061
- NodeError["ERR_INVALID_STATE"] = "ERR_INVALID_STATE";
1062
- /**
1063
- * <p>A <code>Buffer</code>, <code>TypedArray</code>, <code>DataView</code>, or <code>string</code> was provided as stdio input to
1064
- * an asynchronous fork. See the documentation for the <a href="child_process.html"><code>child_process</code></a> module
1065
- * for more information.</p>
1066
- * <p><a id="ERR_INVALID_THIS"></a></p>
1067
- */
1068
- NodeError["ERR_INVALID_SYNC_FORK_INPUT"] = "ERR_INVALID_SYNC_FORK_INPUT";
1069
- /**
1070
- * <p>A Node.js API function was called with an incompatible <code>this</code> value.</p>
1071
- * <pre><code class="language-js">const urlSearchParams = new URLSearchParams('foo=bar&#x26;baz=new');
1072
- *
1073
- * const buf = Buffer.alloc(1);
1074
- * urlSearchParams.has.call(buf, 'foo');
1075
- * // Throws a TypeError with code 'ERR_INVALID_THIS'
1076
- * </code></pre>
1077
- * <p><a id="ERR_INVALID_TUPLE"></a></p>
1078
- */
1079
- NodeError["ERR_INVALID_THIS"] = "ERR_INVALID_THIS";
1080
- /**
1081
- * <p>An element in the <code>iterable</code> provided to the <a href="url.html#the-whatwg-url-api">WHATWG</a>
1082
- * <a href="url.html#new-urlsearchparamsiterable"><code>URLSearchParams</code> constructor</a> did not
1083
- * represent a <code>[name, value]</code> tuple – that is, if an element is not iterable, or
1084
- * does not consist of exactly two elements.</p>
1085
- * <p><a id="ERR_INVALID_TYPESCRIPT_SYNTAX"></a></p>
1086
- */
1087
- NodeError["ERR_INVALID_TUPLE"] = "ERR_INVALID_TUPLE";
1088
- /**
1089
- * <p>The provided TypeScript syntax is not valid or unsupported.
1090
- * This could happen when using TypeScript syntax that requires
1091
- * transformation with <a href="typescript.html#type-stripping">type-stripping</a>.</p>
1092
- * <p><a id="ERR_INVALID_URI"></a></p>
1093
- */
1094
- NodeError["ERR_INVALID_TYPESCRIPT_SYNTAX"] = "ERR_INVALID_TYPESCRIPT_SYNTAX";
1095
- /**
1096
- * <p>An invalid URI was passed.</p>
1097
- * <p><a id="ERR_INVALID_URL"></a></p>
1098
- */
1099
- NodeError["ERR_INVALID_URI"] = "ERR_INVALID_URI";
1100
- /**
1101
- * <p>An invalid URL was passed to the <a href="url.html#the-whatwg-url-api">WHATWG</a> <a href="url.html#new-urlinput-base"><code>URL</code>
1102
- * constructor</a> or the legacy <a href="url.html#urlparseurlstring-parsequerystring-slashesdenotehost"><code>url.parse()</code></a> to be parsed.
1103
- * The thrown error object typically has an additional property <code>'input'</code> that
1104
- * contains the URL that failed to parse.</p>
1105
- * <p><a id="ERR_INVALID_URL_SCHEME"></a></p>
1106
- */
1107
- NodeError["ERR_INVALID_URL"] = "ERR_INVALID_URL";
1108
- /**
1109
- * <p>An attempt was made to use a URL of an incompatible scheme (protocol) for a
1110
- * specific purpose. It is only used in the <a href="url.html#the-whatwg-url-api">WHATWG URL API</a> support in the
1111
- * <a href="fs.html"><code>fs</code></a> module (which only accepts URLs with <code>'file'</code> scheme), but may be used
1112
- * in other Node.js APIs as well in the future.</p>
1113
- * <p><a id="ERR_IPC_CHANNEL_CLOSED"></a></p>
1114
- */
1115
- NodeError["ERR_INVALID_URL_SCHEME"] = "ERR_INVALID_URL_SCHEME";
1116
- /**
1117
- * <p>An attempt was made to use an IPC communication channel that was already closed.</p>
1118
- * <p><a id="ERR_IPC_DISCONNECTED"></a></p>
1119
- */
1120
- NodeError["ERR_IPC_CHANNEL_CLOSED"] = "ERR_IPC_CHANNEL_CLOSED";
1121
- /**
1122
- * <p>An attempt was made to disconnect an IPC communication channel that was already
1123
- * disconnected. See the documentation for the <a href="child_process.html"><code>child_process</code></a> module
1124
- * for more information.</p>
1125
- * <p><a id="ERR_IPC_ONE_PIPE"></a></p>
1126
- */
1127
- NodeError["ERR_IPC_DISCONNECTED"] = "ERR_IPC_DISCONNECTED";
1128
- /**
1129
- * <p>An attempt was made to create a child Node.js process using more than one IPC
1130
- * communication channel. See the documentation for the <a href="child_process.html"><code>child_process</code></a> module
1131
- * for more information.</p>
1132
- * <p><a id="ERR_IPC_SYNC_FORK"></a></p>
1133
- */
1134
- NodeError["ERR_IPC_ONE_PIPE"] = "ERR_IPC_ONE_PIPE";
1135
- /**
1136
- * <p>An attempt was made to open an IPC communication channel with a synchronously
1137
- * forked Node.js process. See the documentation for the <a href="child_process.html"><code>child_process</code></a> module
1138
- * for more information.</p>
1139
- * <p><a id="ERR_LOADER_CHAIN_INCOMPLETE"></a></p>
1140
- */
1141
- NodeError["ERR_IPC_SYNC_FORK"] = "ERR_IPC_SYNC_FORK";
1142
- /**
1143
- * <p>An ESM loader hook returned without calling <code>next()</code> and without explicitly
1144
- * signaling a short circuit.</p>
1145
- * <p><a id="ERR_MEMORY_ALLOCATION_FAILED"></a></p>
1146
- */
1147
- NodeError["ERR_LOADER_CHAIN_INCOMPLETE"] = "ERR_LOADER_CHAIN_INCOMPLETE";
1148
- /**
1149
- * <p>An attempt was made to allocate memory (usually in the C++ layer) but it
1150
- * failed.</p>
1151
- * <p><a id="ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE"></a></p>
1152
- */
1153
- NodeError["ERR_MEMORY_ALLOCATION_FAILED"] = "ERR_MEMORY_ALLOCATION_FAILED";
1154
- /**
1155
- * <p>A message posted to a <a href="worker_threads.html#class-messageport"><code>MessagePort</code></a> could not be deserialized in the target
1156
- * <a href="vm.html">vm</a> <code>Context</code>. Not all Node.js objects can be successfully instantiated in
1157
- * any context at this time, and attempting to transfer them using <code>postMessage()</code>
1158
- * can fail on the receiving side in that case.</p>
1159
- * <p><a id="ERR_METHOD_NOT_IMPLEMENTED"></a></p>
1160
- */
1161
- NodeError["ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE"] = "ERR_MESSAGE_TARGET_CONTEXT_UNAVAILABLE";
1162
- /**
1163
- * <p>A method is required but not implemented.</p>
1164
- * <p><a id="ERR_MISSING_ARGS"></a></p>
1165
- */
1166
- NodeError["ERR_METHOD_NOT_IMPLEMENTED"] = "ERR_METHOD_NOT_IMPLEMENTED";
1167
- /**
1168
- * <p>A required argument of a Node.js API was not passed. This is only used for
1169
- * strict compliance with the API specification (which in some cases may accept
1170
- * <code>func(undefined)</code> but not <code>func()</code>). In most native Node.js APIs,
1171
- * <code>func(undefined)</code> and <code>func()</code> are treated identically, and the
1172
- * <a href="#err_invalid_arg_type"><code>ERR_INVALID_ARG_TYPE</code></a> error code may be used instead.</p>
1173
- * <p><a id="ERR_MISSING_OPTION"></a></p>
1174
- */
1175
- NodeError["ERR_MISSING_ARGS"] = "ERR_MISSING_ARGS";
1176
- /**
1177
- * <p>For APIs that accept options objects, some options might be mandatory. This code
1178
- * is thrown if a required option is missing.</p>
1179
- * <p><a id="ERR_MISSING_PASSPHRASE"></a></p>
1180
- */
1181
- NodeError["ERR_MISSING_OPTION"] = "ERR_MISSING_OPTION";
1182
- /**
1183
- * <p>An attempt was made to read an encrypted key without specifying a passphrase.</p>
1184
- * <p><a id="ERR_MISSING_PLATFORM_FOR_WORKER"></a></p>
1185
- */
1186
- NodeError["ERR_MISSING_PASSPHRASE"] = "ERR_MISSING_PASSPHRASE";
1187
- /**
1188
- * <p>The V8 platform used by this instance of Node.js does not support creating
1189
- * Workers. This is caused by lack of embedder support for Workers. In particular,
1190
- * this error will not occur with standard builds of Node.js.</p>
1191
- * <p><a id="ERR_MODULE_NOT_FOUND"></a></p>
1192
- */
1193
- NodeError["ERR_MISSING_PLATFORM_FOR_WORKER"] = "ERR_MISSING_PLATFORM_FOR_WORKER";
1194
- /**
1195
- * <p>A module file could not be resolved by the ECMAScript modules loader while
1196
- * attempting an <code>import</code> operation or when loading the program entry point.</p>
1197
- * <p><a id="ERR_MULTIPLE_CALLBACK"></a></p>
1198
- */
1199
- NodeError["ERR_MODULE_NOT_FOUND"] = "ERR_MODULE_NOT_FOUND";
1200
- /**
1201
- * <p>A callback was called more than once.</p>
1202
- * <p>A callback is almost always meant to only be called once as the query
1203
- * can either be fulfilled or rejected but not both at the same time. The latter
1204
- * would be possible by calling a callback more than once.</p>
1205
- * <p><a id="ERR_NAPI_CONS_FUNCTION"></a></p>
1206
- */
1207
- NodeError["ERR_MULTIPLE_CALLBACK"] = "ERR_MULTIPLE_CALLBACK";
1208
- /**
1209
- * <p>While using <code>Node-API</code>, a constructor passed was not a function.</p>
1210
- * <p><a id="ERR_NAPI_INVALID_DATAVIEW_ARGS"></a></p>
1211
- */
1212
- NodeError["ERR_NAPI_CONS_FUNCTION"] = "ERR_NAPI_CONS_FUNCTION";
1213
- /**
1214
- * <p>While calling <code>napi_create_dataview()</code>, a given <code>offset</code> was outside the bounds
1215
- * of the dataview or <code>offset + length</code> was larger than a length of given <code>buffer</code>.</p>
1216
- * <p><a id="ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT"></a></p>
1217
- */
1218
- NodeError["ERR_NAPI_INVALID_DATAVIEW_ARGS"] = "ERR_NAPI_INVALID_DATAVIEW_ARGS";
1219
- /**
1220
- * <p>While calling <code>napi_create_typedarray()</code>, the provided <code>offset</code> was not a
1221
- * multiple of the element size.</p>
1222
- * <p><a id="ERR_NAPI_INVALID_TYPEDARRAY_LENGTH"></a></p>
1223
- */
1224
- NodeError["ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT"] = "ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT";
1225
- /**
1226
- * <p>While calling <code>napi_create_typedarray()</code>, <code>(length * size_of_element) + byte_offset</code> was larger than the length of given <code>buffer</code>.</p>
1227
- * <p><a id="ERR_NAPI_TSFN_CALL_JS"></a></p>
1228
- */
1229
- NodeError["ERR_NAPI_INVALID_TYPEDARRAY_LENGTH"] = "ERR_NAPI_INVALID_TYPEDARRAY_LENGTH";
1230
- /**
1231
- * <p>An error occurred while invoking the JavaScript portion of the thread-safe
1232
- * function.</p>
1233
- * <p><a id="ERR_NAPI_TSFN_GET_UNDEFINED"></a></p>
1234
- */
1235
- NodeError["ERR_NAPI_TSFN_CALL_JS"] = "ERR_NAPI_TSFN_CALL_JS";
1236
- /**
1237
- * <p>An error occurred while attempting to retrieve the JavaScript <code>undefined</code>
1238
- * value.</p>
1239
- * <p><a id="ERR_NON_CONTEXT_AWARE_DISABLED"></a></p>
1240
- */
1241
- NodeError["ERR_NAPI_TSFN_GET_UNDEFINED"] = "ERR_NAPI_TSFN_GET_UNDEFINED";
1242
- /**
1243
- * <p>A non-context-aware native addon was loaded in a process that disallows them.</p>
1244
- * <p><a id="ERR_NOT_BUILDING_SNAPSHOT"></a></p>
1245
- */
1246
- NodeError["ERR_NON_CONTEXT_AWARE_DISABLED"] = "ERR_NON_CONTEXT_AWARE_DISABLED";
1247
- /**
1248
- * <p>An attempt was made to use operations that can only be used when building
1249
- * V8 startup snapshot even though Node.js isn't building one.</p>
1250
- * <p><a id="ERR_NOT_IN_SINGLE_EXECUTABLE_APPLICATION"></a></p>
1251
- */
1252
- NodeError["ERR_NOT_BUILDING_SNAPSHOT"] = "ERR_NOT_BUILDING_SNAPSHOT";
1253
- /**
1254
- * <p>The operation cannot be performed when it's not in a single-executable
1255
- * application.</p>
1256
- * <p><a id="ERR_NOT_SUPPORTED_IN_SNAPSHOT"></a></p>
1257
- */
1258
- NodeError["ERR_NOT_IN_SINGLE_EXECUTABLE_APPLICATION"] = "ERR_NOT_IN_SINGLE_EXECUTABLE_APPLICATION";
1259
- /**
1260
- * <p>An attempt was made to perform operations that are not supported when
1261
- * building a startup snapshot.</p>
1262
- * <p><a id="ERR_NO_CRYPTO"></a></p>
1263
- */
1264
- NodeError["ERR_NOT_SUPPORTED_IN_SNAPSHOT"] = "ERR_NOT_SUPPORTED_IN_SNAPSHOT";
1265
- /**
1266
- * <p>An attempt was made to use crypto features while Node.js was not compiled with
1267
- * OpenSSL crypto support.</p>
1268
- * <p><a id="ERR_NO_ICU"></a></p>
1269
- */
1270
- NodeError["ERR_NO_CRYPTO"] = "ERR_NO_CRYPTO";
1271
- /**
1272
- * <p>An attempt was made to use features that require <a href="intl.html#internationalization-support">ICU</a>, but Node.js was not
1273
- * compiled with ICU support.</p>
1274
- * <p><a id="ERR_NO_TYPESCRIPT"></a></p>
1275
- */
1276
- NodeError["ERR_NO_ICU"] = "ERR_NO_ICU";
1277
- /**
1278
- * <p>An attempt was made to use features that require <a href="typescript.html#type-stripping">Native TypeScript support</a>, but Node.js was not
1279
- * compiled with TypeScript support.</p>
1280
- * <p><a id="ERR_OPERATION_FAILED"></a></p>
1281
- */
1282
- NodeError["ERR_NO_TYPESCRIPT"] = "ERR_NO_TYPESCRIPT";
1283
- /**
1284
- * <p>An operation failed. This is typically used to signal the general failure
1285
- * of an asynchronous operation.</p>
1286
- * <p><a id="ERR_OUT_OF_RANGE"></a></p>
1287
- */
1288
- NodeError["ERR_OPERATION_FAILED"] = "ERR_OPERATION_FAILED";
1289
- /**
1290
- * <p>A given value is out of the accepted range.</p>
1291
- * <p><a id="ERR_PACKAGE_IMPORT_NOT_DEFINED"></a></p>
1292
- */
1293
- NodeError["ERR_OUT_OF_RANGE"] = "ERR_OUT_OF_RANGE";
1294
- /**
1295
- * <p>The <code>package.json</code> <a href="packages.html#imports"><code>"imports"</code></a> field does not define the given internal
1296
- * package specifier mapping.</p>
1297
- * <p><a id="ERR_PACKAGE_PATH_NOT_EXPORTED"></a></p>
1298
- */
1299
- NodeError["ERR_PACKAGE_IMPORT_NOT_DEFINED"] = "ERR_PACKAGE_IMPORT_NOT_DEFINED";
1300
- /**
1301
- * <p>The <code>package.json</code> <a href="packages.html#exports"><code>"exports"</code></a> field does not export the requested subpath.
1302
- * Because exports are encapsulated, private internal modules that are not exported
1303
- * cannot be imported through the package resolution, unless using an absolute URL.</p>
1304
- * <p><a id="ERR_PARSE_ARGS_INVALID_OPTION_VALUE"></a></p>
1305
- */
1306
- NodeError["ERR_PACKAGE_PATH_NOT_EXPORTED"] = "ERR_PACKAGE_PATH_NOT_EXPORTED";
1307
- /**
1308
- * <p>When <code>strict</code> set to <code>true</code>, thrown by <a href="util.html#utilparseargsconfig"><code>util.parseArgs()</code></a> if a <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type" class="type">&lt;boolean&gt;</a>
1309
- * value is provided for an option of type <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string&gt;</a>, or if a <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type" class="type">&lt;string&gt;</a>
1310
- * value is provided for an option of type <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type" class="type">&lt;boolean&gt;</a>.</p>
1311
- * <p><a id="ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL"></a></p>
1312
- */
1313
- NodeError["ERR_PARSE_ARGS_INVALID_OPTION_VALUE"] = "ERR_PARSE_ARGS_INVALID_OPTION_VALUE";
1314
- /**
1315
- * <p>Thrown by <a href="util.html#utilparseargsconfig"><code>util.parseArgs()</code></a>, when a positional argument is provided and
1316
- * <code>allowPositionals</code> is set to <code>false</code>.</p>
1317
- * <p><a id="ERR_PARSE_ARGS_UNKNOWN_OPTION"></a></p>
1318
- */
1319
- NodeError["ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL"] = "ERR_PARSE_ARGS_UNEXPECTED_POSITIONAL";
1320
- /**
1321
- * <p>When <code>strict</code> set to <code>true</code>, thrown by <a href="util.html#utilparseargsconfig"><code>util.parseArgs()</code></a> if an argument
1322
- * is not configured in <code>options</code>.</p>
1323
- * <p><a id="ERR_PERFORMANCE_INVALID_TIMESTAMP"></a></p>
1324
- */
1325
- NodeError["ERR_PARSE_ARGS_UNKNOWN_OPTION"] = "ERR_PARSE_ARGS_UNKNOWN_OPTION";
1326
- /**
1327
- * <p>An invalid timestamp value was provided for a performance mark or measure.</p>
1328
- * <p><a id="ERR_PERFORMANCE_MEASURE_INVALID_OPTIONS"></a></p>
1329
- */
1330
- NodeError["ERR_PERFORMANCE_INVALID_TIMESTAMP"] = "ERR_PERFORMANCE_INVALID_TIMESTAMP";
1331
- /**
1332
- * <p>Invalid options were provided for a performance measure.</p>
1333
- * <p><a id="ERR_PROTO_ACCESS"></a></p>
1334
- */
1335
- NodeError["ERR_PERFORMANCE_MEASURE_INVALID_OPTIONS"] = "ERR_PERFORMANCE_MEASURE_INVALID_OPTIONS";
1336
- /**
1337
- * <p>Accessing <code>Object.prototype.__proto__</code> has been forbidden using
1338
- * <a href="cli.html#--disable-protomode"><code>--disable-proto=throw</code></a>. <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getPrototypeOf"><code>Object.getPrototypeOf</code></a> and
1339
- * <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/setPrototypeOf"><code>Object.setPrototypeOf</code></a> should be used to get and set the prototype of an
1340
- * object.</p>
1341
- * <p><a id="ERR_QUIC_CONNECTION_FAILED"></a></p>
1342
- */
1343
- NodeError["ERR_PROTO_ACCESS"] = "ERR_PROTO_ACCESS";
1344
- /**
1345
- * <p>Establishing a QUIC connection failed.</p>
1346
- * <p><a id="ERR_QUIC_ENDPOINT_CLOSED"></a></p>
1347
- */
1348
- NodeError["ERR_QUIC_CONNECTION_FAILED"] = "ERR_QUIC_CONNECTION_FAILED";
1349
- /**
1350
- * <p>A QUIC Endpoint closed with an error.</p>
1351
- * <p><a id="ERR_QUIC_OPEN_STREAM_FAILED"></a></p>
1352
- */
1353
- NodeError["ERR_QUIC_ENDPOINT_CLOSED"] = "ERR_QUIC_ENDPOINT_CLOSED";
1354
- /**
1355
- * <p>Opening a QUIC stream failed.</p>
1356
- * <p><a id="ERR_REQUIRE_ASYNC_MODULE"></a></p>
1357
- */
1358
- NodeError["ERR_QUIC_OPEN_STREAM_FAILED"] = "ERR_QUIC_OPEN_STREAM_FAILED";
1359
- /**
1360
- * <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a>, the module turns out to be asynchronous.
1361
- * That is, it contains top-level await.</p>
1362
- * <p>To see where the top-level await is, use
1363
- * <code>--experimental-print-required-tla</code> (this would execute the modules
1364
- * before looking for the top-level awaits).</p>
1365
- * <p><a id="ERR_REQUIRE_CYCLE_MODULE"></a></p>
1366
- */
1367
- NodeError["ERR_REQUIRE_ASYNC_MODULE"] = "ERR_REQUIRE_ASYNC_MODULE";
1368
- /**
1369
- * <p>When trying to <code>require()</code> a <a href="esm.html">ES Module</a>, a CommonJS to ESM or ESM to CommonJS edge
1370
- * participates in an immediate cycle.
1371
- * This is not allowed because ES Modules cannot be evaluated while they are
1372
- * already being evaluated.</p>
1373
- * <p>To avoid the cycle, the <code>require()</code> call involved in a cycle should not happen
1374
- * at the top-level of either an ES Module (via <code>createRequire()</code>) or a CommonJS
1375
- * module, and should be done lazily in an inner function.</p>
1376
- * <p><a id="ERR_REQUIRE_ESM"></a></p>
1377
- */
1378
- NodeError["ERR_REQUIRE_CYCLE_MODULE"] = "ERR_REQUIRE_CYCLE_MODULE";
1379
- /**
1380
- * <p>An attempt was made to <code>require()</code> an <a href="esm.html">ES Module</a>.</p>
1381
- * <p>This error has been deprecated since <code>require()</code> now supports loading synchronous
1382
- * ES modules. When <code>require()</code> encounters an ES module that contains top-level
1383
- * <code>await</code>, it will throw <a href="#err_require_async_module"><code>ERR_REQUIRE_ASYNC_MODULE</code></a> instead.</p>
1384
- * <p><a id="ERR_SCRIPT_EXECUTION_INTERRUPTED"></a></p>
1385
- */
1386
- NodeError["ERR_REQUIRE_ESM"] = "ERR_REQUIRE_ESM";
1387
- /**
1388
- * <p>Script execution was interrupted by <code>SIGINT</code> (For
1389
- * example, <kbd>Ctrl</kbd>+<kbd>C</kbd> was pressed.)</p>
1390
- * <p><a id="ERR_SCRIPT_EXECUTION_TIMEOUT"></a></p>
1391
- */
1392
- NodeError["ERR_SCRIPT_EXECUTION_INTERRUPTED"] = "ERR_SCRIPT_EXECUTION_INTERRUPTED";
1393
- /**
1394
- * <p>Script execution timed out, possibly due to bugs in the script being executed.</p>
1395
- * <p><a id="ERR_SERVER_ALREADY_LISTEN"></a></p>
1396
- */
1397
- NodeError["ERR_SCRIPT_EXECUTION_TIMEOUT"] = "ERR_SCRIPT_EXECUTION_TIMEOUT";
1398
- /**
1399
- * <p>The <a href="net.html#serverlisten"><code>server.listen()</code></a> method was called while a <code>net.Server</code> was already
1400
- * listening. This applies to all instances of <code>net.Server</code>, including HTTP, HTTPS,
1401
- * and HTTP/2 <code>Server</code> instances.</p>
1402
- * <p><a id="ERR_SERVER_NOT_RUNNING"></a></p>
1403
- */
1404
- NodeError["ERR_SERVER_ALREADY_LISTEN"] = "ERR_SERVER_ALREADY_LISTEN";
1405
- /**
1406
- * <p>The <a href="net.html#serverclosecallback"><code>server.close()</code></a> method was called when a <code>net.Server</code> was not
1407
- * running. This applies to all instances of <code>net.Server</code>, including HTTP, HTTPS,
1408
- * and HTTP/2 <code>Server</code> instances.</p>
1409
- * <p><a id="ERR_SINGLE_EXECUTABLE_APPLICATION_ASSET_NOT_FOUND"></a></p>
1410
- */
1411
- NodeError["ERR_SERVER_NOT_RUNNING"] = "ERR_SERVER_NOT_RUNNING";
1412
- /**
1413
- * <p>A key was passed to single executable application APIs to identify an asset,
1414
- * but no match could be found.</p>
1415
- * <p><a id="ERR_SOCKET_ALREADY_BOUND"></a></p>
1416
- */
1417
- NodeError["ERR_SINGLE_EXECUTABLE_APPLICATION_ASSET_NOT_FOUND"] = "ERR_SINGLE_EXECUTABLE_APPLICATION_ASSET_NOT_FOUND";
1418
- /**
1419
- * <p>An attempt was made to bind a socket that has already been bound.</p>
1420
- * <p><a id="ERR_SOCKET_BAD_BUFFER_SIZE"></a></p>
1421
- */
1422
- NodeError["ERR_SOCKET_ALREADY_BOUND"] = "ERR_SOCKET_ALREADY_BOUND";
1423
- /**
1424
- * <p>An invalid (negative) size was passed for either the <code>recvBufferSize</code> or
1425
- * <code>sendBufferSize</code> options in <a href="dgram.html#dgramcreatesocketoptions-callback"><code>dgram.createSocket()</code></a>.</p>
1426
- * <p><a id="ERR_SOCKET_BAD_PORT"></a></p>
1427
- */
1428
- NodeError["ERR_SOCKET_BAD_BUFFER_SIZE"] = "ERR_SOCKET_BAD_BUFFER_SIZE";
1429
- /**
1430
- * <p>An API function expecting a port >= 0 and &#x3C; 65536 received an invalid value.</p>
1431
- * <p><a id="ERR_SOCKET_BAD_TYPE"></a></p>
1432
- */
1433
- NodeError["ERR_SOCKET_BAD_PORT"] = "ERR_SOCKET_BAD_PORT";
1434
- /**
1435
- * <p>An API function expecting a socket type (<code>udp4</code> or <code>udp6</code>) received an invalid
1436
- * value.</p>
1437
- * <p><a id="ERR_SOCKET_BUFFER_SIZE"></a></p>
1438
- */
1439
- NodeError["ERR_SOCKET_BAD_TYPE"] = "ERR_SOCKET_BAD_TYPE";
1440
- /**
1441
- * <p>While using <a href="dgram.html#dgramcreatesocketoptions-callback"><code>dgram.createSocket()</code></a>, the size of the receive or send <code>Buffer</code>
1442
- * could not be determined.</p>
1443
- * <p><a id="ERR_SOCKET_CLOSED"></a></p>
1444
- */
1445
- NodeError["ERR_SOCKET_BUFFER_SIZE"] = "ERR_SOCKET_BUFFER_SIZE";
1446
- /**
1447
- * <p>An attempt was made to operate on an already closed socket.</p>
1448
- * <p><a id="ERR_SOCKET_CLOSED_BEFORE_CONNECTION"></a></p>
1449
- */
1450
- NodeError["ERR_SOCKET_CLOSED"] = "ERR_SOCKET_CLOSED";
1451
- /**
1452
- * <p>When calling <a href="net.html#socketwritedata-encoding-callback"><code>net.Socket.write()</code></a> on a connecting socket and the socket was
1453
- * closed before the connection was established.</p>
1454
- * <p><a id="ERR_SOCKET_CONNECTION_TIMEOUT"></a></p>
1455
- */
1456
- NodeError["ERR_SOCKET_CLOSED_BEFORE_CONNECTION"] = "ERR_SOCKET_CLOSED_BEFORE_CONNECTION";
1457
- /**
1458
- * <p>The socket was unable to connect to any address returned by the DNS within the
1459
- * allowed timeout when using the family autoselection algorithm.</p>
1460
- * <p><a id="ERR_SOCKET_DGRAM_IS_CONNECTED"></a></p>
1461
- */
1462
- NodeError["ERR_SOCKET_CONNECTION_TIMEOUT"] = "ERR_SOCKET_CONNECTION_TIMEOUT";
1463
- /**
1464
- * <p>A <a href="dgram.html#socketconnectport-address-callback"><code>dgram.connect()</code></a> call was made on an already connected socket.</p>
1465
- * <p><a id="ERR_SOCKET_DGRAM_NOT_CONNECTED"></a></p>
1466
- */
1467
- NodeError["ERR_SOCKET_DGRAM_IS_CONNECTED"] = "ERR_SOCKET_DGRAM_IS_CONNECTED";
1468
- /**
1469
- * <p>A <a href="dgram.html#socketdisconnect"><code>dgram.disconnect()</code></a> or <a href="dgram.html#socketremoteaddress"><code>dgram.remoteAddress()</code></a> call was made on a
1470
- * disconnected socket.</p>
1471
- * <p><a id="ERR_SOCKET_DGRAM_NOT_RUNNING"></a></p>
1472
- */
1473
- NodeError["ERR_SOCKET_DGRAM_NOT_CONNECTED"] = "ERR_SOCKET_DGRAM_NOT_CONNECTED";
1474
- /**
1475
- * <p>A call was made and the UDP subsystem was not running.</p>
1476
- * <p><a id="ERR_SOURCE_MAP_CORRUPT"></a></p>
1477
- */
1478
- NodeError["ERR_SOCKET_DGRAM_NOT_RUNNING"] = "ERR_SOCKET_DGRAM_NOT_RUNNING";
1479
- /**
1480
- * <p>The source map could not be parsed because it does not exist, or is corrupt.</p>
1481
- * <p><a id="ERR_SOURCE_MAP_MISSING_SOURCE"></a></p>
1482
- */
1483
- NodeError["ERR_SOURCE_MAP_CORRUPT"] = "ERR_SOURCE_MAP_CORRUPT";
1484
- /**
1485
- * <p>A file imported from a source map was not found.</p>
1486
- * <p><a id="ERR_SQLITE_ERROR"></a></p>
1487
- */
1488
- NodeError["ERR_SOURCE_MAP_MISSING_SOURCE"] = "ERR_SOURCE_MAP_MISSING_SOURCE";
1489
- /**
1490
- * <p>An error was returned from <a href="sqlite.html">SQLite</a>.</p>
1491
- * <p><a id="ERR_SRI_PARSE"></a></p>
1492
- */
1493
- NodeError["ERR_SQLITE_ERROR"] = "ERR_SQLITE_ERROR";
1494
- /**
1495
- * <p>A string was provided for a Subresource Integrity check, but was unable to be
1496
- * parsed. Check the format of integrity attributes by looking at the
1497
- * <a href="https://www.w3.org/TR/SRI/#the-integrity-attribute">Subresource Integrity specification</a>.</p>
1498
- * <p><a id="ERR_STREAM_ALREADY_FINISHED"></a></p>
1499
- */
1500
- NodeError["ERR_SRI_PARSE"] = "ERR_SRI_PARSE";
1501
- /**
1502
- * <p>A stream method was called that cannot complete because the stream was
1503
- * finished.</p>
1504
- * <p><a id="ERR_STREAM_CANNOT_PIPE"></a></p>
1505
- */
1506
- NodeError["ERR_STREAM_ALREADY_FINISHED"] = "ERR_STREAM_ALREADY_FINISHED";
1507
- /**
1508
- * <p>An attempt was made to call <a href="stream.html#readablepipedestination-options"><code>stream.pipe()</code></a> on a <a href="stream.html#class-streamwritable"><code>Writable</code></a> stream.</p>
1509
- * <p><a id="ERR_STREAM_DESTROYED"></a></p>
1510
- */
1511
- NodeError["ERR_STREAM_CANNOT_PIPE"] = "ERR_STREAM_CANNOT_PIPE";
1512
- /**
1513
- * <p>A stream method was called that cannot complete because the stream was
1514
- * destroyed using <code>stream.destroy()</code>.</p>
1515
- * <p><a id="ERR_STREAM_NULL_VALUES"></a></p>
1516
- */
1517
- NodeError["ERR_STREAM_DESTROYED"] = "ERR_STREAM_DESTROYED";
1518
- /**
1519
- * <p>An attempt was made to call <a href="stream.html#writablewritechunk-encoding-callback"><code>stream.write()</code></a> with a <code>null</code> chunk.</p>
1520
- * <p><a id="ERR_STREAM_PREMATURE_CLOSE"></a></p>
1521
- */
1522
- NodeError["ERR_STREAM_NULL_VALUES"] = "ERR_STREAM_NULL_VALUES";
1523
- /**
1524
- * <p>An error returned by <code>stream.finished()</code> and <code>stream.pipeline()</code>, when a stream
1525
- * or a pipeline ends non gracefully with no explicit error.</p>
1526
- * <p><a id="ERR_STREAM_PUSH_AFTER_EOF"></a></p>
1527
- */
1528
- NodeError["ERR_STREAM_PREMATURE_CLOSE"] = "ERR_STREAM_PREMATURE_CLOSE";
1529
- /**
1530
- * <p>An attempt was made to call <a href="stream.html#readablepushchunk-encoding"><code>stream.push()</code></a> after a <code>null</code>(EOF) had been
1531
- * pushed to the stream.</p>
1532
- * <p><a id="ERR_STREAM_UNABLE_TO_PIPE"></a></p>
1533
- */
1534
- NodeError["ERR_STREAM_PUSH_AFTER_EOF"] = "ERR_STREAM_PUSH_AFTER_EOF";
1535
- /**
1536
- * <p>An attempt was made to pipe to a closed or destroyed stream in a pipeline.</p>
1537
- * <p><a id="ERR_STREAM_UNSHIFT_AFTER_END_EVENT"></a></p>
1538
- */
1539
- NodeError["ERR_STREAM_UNABLE_TO_PIPE"] = "ERR_STREAM_UNABLE_TO_PIPE";
1540
- /**
1541
- * <p>An attempt was made to call <a href="stream.html#readableunshiftchunk-encoding"><code>stream.unshift()</code></a> after the <code>'end'</code> event was
1542
- * emitted.</p>
1543
- * <p><a id="ERR_STREAM_WRAP"></a></p>
1544
- */
1545
- NodeError["ERR_STREAM_UNSHIFT_AFTER_END_EVENT"] = "ERR_STREAM_UNSHIFT_AFTER_END_EVENT";
1546
- /**
1547
- * <p>Prevents an abort if a string decoder was set on the Socket or if the decoder
1548
- * is in <code>objectMode</code>.</p>
1549
- * <pre><code class="language-js">const Socket = require('node:net').Socket;
1550
- * const instance = new Socket();
1551
- *
1552
- * instance.setEncoding('utf8');
1553
- * </code></pre>
1554
- * <p><a id="ERR_STREAM_WRITE_AFTER_END"></a></p>
1555
- */
1556
- NodeError["ERR_STREAM_WRAP"] = "ERR_STREAM_WRAP";
1557
- /**
1558
- * <p>An attempt was made to call <a href="stream.html#writablewritechunk-encoding-callback"><code>stream.write()</code></a> after <code>stream.end()</code> has been
1559
- * called.</p>
1560
- * <p><a id="ERR_STRING_TOO_LONG"></a></p>
1561
- */
1562
- NodeError["ERR_STREAM_WRITE_AFTER_END"] = "ERR_STREAM_WRITE_AFTER_END";
1563
- /**
1564
- * <p>An attempt has been made to create a string longer than the maximum allowed
1565
- * length.</p>
1566
- * <p><a id="ERR_SYNTHETIC"></a></p>
1567
- */
1568
- NodeError["ERR_STRING_TOO_LONG"] = "ERR_STRING_TOO_LONG";
1569
- /**
1570
- * <p>An artificial error object used to capture the call stack for diagnostic
1571
- * reports.</p>
1572
- * <p><a id="ERR_SYSTEM_ERROR"></a></p>
1573
- */
1574
- NodeError["ERR_SYNTHETIC"] = "ERR_SYNTHETIC";
1575
- /**
1576
- * <p>An unspecified or non-specific system error has occurred within the Node.js
1577
- * process. The error object will have an <code>err.info</code> object property with
1578
- * additional details.</p>
1579
- * <p><a id="ERR_TAP_LEXER_ERROR"></a></p>
1580
- */
1581
- NodeError["ERR_SYSTEM_ERROR"] = "ERR_SYSTEM_ERROR";
1582
- /**
1583
- * <p>An error representing a failing lexer state.</p>
1584
- * <p><a id="ERR_TAP_PARSER_ERROR"></a></p>
1585
- */
1586
- NodeError["ERR_TAP_LEXER_ERROR"] = "ERR_TAP_LEXER_ERROR";
1587
- /**
1588
- * <p>An error representing a failing parser state. Additional information about
1589
- * the token causing the error is available via the <code>cause</code> property.</p>
1590
- * <p><a id="ERR_TAP_VALIDATION_ERROR"></a></p>
1591
- */
1592
- NodeError["ERR_TAP_PARSER_ERROR"] = "ERR_TAP_PARSER_ERROR";
1593
- /**
1594
- * <p>This error represents a failed TAP validation.</p>
1595
- * <p><a id="ERR_TEST_FAILURE"></a></p>
1596
- */
1597
- NodeError["ERR_TAP_VALIDATION_ERROR"] = "ERR_TAP_VALIDATION_ERROR";
1598
- /**
1599
- * <p>This error represents a failed test. Additional information about the failure
1600
- * is available via the <code>cause</code> property. The <code>failureType</code> property specifies
1601
- * what the test was doing when the failure occurred.</p>
1602
- * <p><a id="ERR_TLS_ALPN_CALLBACK_INVALID_RESULT"></a></p>
1603
- */
1604
- NodeError["ERR_TEST_FAILURE"] = "ERR_TEST_FAILURE";
1605
- /**
1606
- * <p>This error is thrown when an <code>ALPNCallback</code> returns a value that is not in the
1607
- * list of ALPN protocols offered by the client.</p>
1608
- * <p><a id="ERR_TLS_ALPN_CALLBACK_WITH_PROTOCOLS"></a></p>
1609
- */
1610
- NodeError["ERR_TLS_ALPN_CALLBACK_INVALID_RESULT"] = "ERR_TLS_ALPN_CALLBACK_INVALID_RESULT";
1611
- /**
1612
- * <p>This error is thrown when creating a <code>TLSServer</code> if the TLS options include
1613
- * both <code>ALPNProtocols</code> and <code>ALPNCallback</code>. These options are mutually exclusive.</p>
1614
- * <p><a id="ERR_TLS_CERT_ALTNAME_FORMAT"></a></p>
1615
- */
1616
- NodeError["ERR_TLS_ALPN_CALLBACK_WITH_PROTOCOLS"] = "ERR_TLS_ALPN_CALLBACK_WITH_PROTOCOLS";
1617
- /**
1618
- * <p>This error is thrown by <code>checkServerIdentity</code> if a user-supplied
1619
- * <code>subjectaltname</code> property violates encoding rules. Certificate objects produced
1620
- * by Node.js itself always comply with encoding rules and will never cause
1621
- * this error.</p>
1622
- * <p><a id="ERR_TLS_CERT_ALTNAME_INVALID"></a></p>
1623
- */
1624
- NodeError["ERR_TLS_CERT_ALTNAME_FORMAT"] = "ERR_TLS_CERT_ALTNAME_FORMAT";
1625
- /**
1626
- * <p>While using TLS, the host name/IP of the peer did not match any of the
1627
- * <code>subjectAltNames</code> in its certificate.</p>
1628
- * <p><a id="ERR_TLS_DH_PARAM_SIZE"></a></p>
1629
- */
1630
- NodeError["ERR_TLS_CERT_ALTNAME_INVALID"] = "ERR_TLS_CERT_ALTNAME_INVALID";
1631
- /**
1632
- * <p>While using TLS, the parameter offered for the Diffie-Hellman (<code>DH</code>)
1633
- * key-agreement protocol is too small. By default, the key length must be greater
1634
- * than or equal to 1024 bits to avoid vulnerabilities, even though it is strongly
1635
- * recommended to use 2048 bits or larger for stronger security.</p>
1636
- * <p><a id="ERR_TLS_HANDSHAKE_TIMEOUT"></a></p>
1637
- */
1638
- NodeError["ERR_TLS_DH_PARAM_SIZE"] = "ERR_TLS_DH_PARAM_SIZE";
1639
- /**
1640
- * <p>A TLS/SSL handshake timed out. In this case, the server must also abort the
1641
- * connection.</p>
1642
- * <p><a id="ERR_TLS_INVALID_CONTEXT"></a></p>
1643
- */
1644
- NodeError["ERR_TLS_HANDSHAKE_TIMEOUT"] = "ERR_TLS_HANDSHAKE_TIMEOUT";
1645
- /**
1646
- * <p>The context must be a <code>SecureContext</code>.</p>
1647
- * <p><a id="ERR_TLS_INVALID_PROTOCOL_METHOD"></a></p>
1648
- */
1649
- NodeError["ERR_TLS_INVALID_CONTEXT"] = "ERR_TLS_INVALID_CONTEXT";
1650
- /**
1651
- * <p>The specified <code>secureProtocol</code> method is invalid. It is either unknown, or
1652
- * disabled because it is insecure.</p>
1653
- * <p><a id="ERR_TLS_INVALID_PROTOCOL_VERSION"></a></p>
1654
- */
1655
- NodeError["ERR_TLS_INVALID_PROTOCOL_METHOD"] = "ERR_TLS_INVALID_PROTOCOL_METHOD";
1656
- /**
1657
- * <p>Valid TLS protocol versions are <code>'TLSv1'</code>, <code>'TLSv1.1'</code>, or <code>'TLSv1.2'</code>.</p>
1658
- * <p><a id="ERR_TLS_INVALID_STATE"></a></p>
1659
- */
1660
- NodeError["ERR_TLS_INVALID_PROTOCOL_VERSION"] = "ERR_TLS_INVALID_PROTOCOL_VERSION";
1661
- /**
1662
- * <p>The TLS socket must be connected and securely established. Ensure the 'secure'
1663
- * event is emitted before continuing.</p>
1664
- * <p><a id="ERR_TLS_PROTOCOL_VERSION_CONFLICT"></a></p>
1665
- */
1666
- NodeError["ERR_TLS_INVALID_STATE"] = "ERR_TLS_INVALID_STATE";
1667
- /**
1668
- * <p>Attempting to set a TLS protocol <code>minVersion</code> or <code>maxVersion</code> conflicts with an
1669
- * attempt to set the <code>secureProtocol</code> explicitly. Use one mechanism or the other.</p>
1670
- * <p><a id="ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED"></a></p>
1671
- */
1672
- NodeError["ERR_TLS_PROTOCOL_VERSION_CONFLICT"] = "ERR_TLS_PROTOCOL_VERSION_CONFLICT";
1673
- /**
1674
- * <p>Failed to set PSK identity hint. Hint may be too long.</p>
1675
- * <p><a id="ERR_TLS_RENEGOTIATION_DISABLED"></a></p>
1676
- */
1677
- NodeError["ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED"] = "ERR_TLS_PSK_SET_IDENTITY_HINT_FAILED";
1678
- /**
1679
- * <p>An attempt was made to renegotiate TLS on a socket instance with renegotiation
1680
- * disabled.</p>
1681
- * <p><a id="ERR_TLS_REQUIRED_SERVER_NAME"></a></p>
1682
- */
1683
- NodeError["ERR_TLS_RENEGOTIATION_DISABLED"] = "ERR_TLS_RENEGOTIATION_DISABLED";
1684
- /**
1685
- * <p>While using TLS, the <code>server.addContext()</code> method was called without providing
1686
- * a host name in the first parameter.</p>
1687
- * <p><a id="ERR_TLS_SESSION_ATTACK"></a></p>
1688
- */
1689
- NodeError["ERR_TLS_REQUIRED_SERVER_NAME"] = "ERR_TLS_REQUIRED_SERVER_NAME";
1690
- /**
1691
- * <p>An excessive amount of TLS renegotiations is detected, which is a potential
1692
- * vector for denial-of-service attacks.</p>
1693
- * <p><a id="ERR_TLS_SNI_FROM_SERVER"></a></p>
1694
- */
1695
- NodeError["ERR_TLS_SESSION_ATTACK"] = "ERR_TLS_SESSION_ATTACK";
1696
- /**
1697
- * <p>An attempt was made to issue Server Name Indication from a TLS server-side
1698
- * socket, which is only valid from a client.</p>
1699
- * <p><a id="ERR_TRACE_EVENTS_CATEGORY_REQUIRED"></a></p>
1700
- */
1701
- NodeError["ERR_TLS_SNI_FROM_SERVER"] = "ERR_TLS_SNI_FROM_SERVER";
1702
- /**
1703
- * <p>The <code>trace_events.createTracing()</code> method requires at least one trace event
1704
- * category.</p>
1705
- * <p><a id="ERR_TRACE_EVENTS_UNAVAILABLE"></a></p>
1706
- */
1707
- NodeError["ERR_TRACE_EVENTS_CATEGORY_REQUIRED"] = "ERR_TRACE_EVENTS_CATEGORY_REQUIRED";
1708
- /**
1709
- * <p>The <code>node:trace_events</code> module could not be loaded because Node.js was compiled
1710
- * with the <code>--without-v8-platform</code> flag.</p>
1711
- * <p><a id="ERR_TRANSFORM_ALREADY_TRANSFORMING"></a></p>
1712
- */
1713
- NodeError["ERR_TRACE_EVENTS_UNAVAILABLE"] = "ERR_TRACE_EVENTS_UNAVAILABLE";
1714
- /**
1715
- * <p>A <code>Transform</code> stream finished while it was still transforming.</p>
1716
- * <p><a id="ERR_TRANSFORM_WITH_LENGTH_0"></a></p>
1717
- */
1718
- NodeError["ERR_TRANSFORM_ALREADY_TRANSFORMING"] = "ERR_TRANSFORM_ALREADY_TRANSFORMING";
1719
- /**
1720
- * <p>A <code>Transform</code> stream finished with data still in the write buffer.</p>
1721
- * <p><a id="ERR_TTY_INIT_FAILED"></a></p>
1722
- */
1723
- NodeError["ERR_TRANSFORM_WITH_LENGTH_0"] = "ERR_TRANSFORM_WITH_LENGTH_0";
1724
- /**
1725
- * <p>The initialization of a TTY failed due to a system error.</p>
1726
- * <p><a id="ERR_UNAVAILABLE_DURING_EXIT"></a></p>
1727
- */
1728
- NodeError["ERR_TTY_INIT_FAILED"] = "ERR_TTY_INIT_FAILED";
1729
- /**
1730
- * <p>Function was called within a <a href="process.html#event-exit"><code>process.on('exit')</code></a> handler that shouldn't be
1731
- * called within <a href="process.html#event-exit"><code>process.on('exit')</code></a> handler.</p>
1732
- * <p><a id="ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET"></a></p>
1733
- */
1734
- NodeError["ERR_UNAVAILABLE_DURING_EXIT"] = "ERR_UNAVAILABLE_DURING_EXIT";
1735
- /**
1736
- * <p><a href="process.html#processsetuncaughtexceptioncapturecallbackfn"><code>process.setUncaughtExceptionCaptureCallback()</code></a> was called twice,
1737
- * without first resetting the callback to <code>null</code>.</p>
1738
- * <p>This error is designed to prevent accidentally overwriting a callback registered
1739
- * from another module.</p>
1740
- * <p><a id="ERR_UNESCAPED_CHARACTERS"></a></p>
1741
- */
1742
- NodeError["ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET"] = "ERR_UNCAUGHT_EXCEPTION_CAPTURE_ALREADY_SET";
1743
- /**
1744
- * <p>A string that contained unescaped characters was received.</p>
1745
- * <p><a id="ERR_UNHANDLED_ERROR"></a></p>
1746
- */
1747
- NodeError["ERR_UNESCAPED_CHARACTERS"] = "ERR_UNESCAPED_CHARACTERS";
1748
- /**
1749
- * <p>An unhandled error occurred (for instance, when an <code>'error'</code> event is emitted
1750
- * by an <a href="events.html#class-eventemitter"><code>EventEmitter</code></a> but an <code>'error'</code> handler is not registered).</p>
1751
- * <p><a id="ERR_UNKNOWN_BUILTIN_MODULE"></a></p>
1752
- */
1753
- NodeError["ERR_UNHANDLED_ERROR"] = "ERR_UNHANDLED_ERROR";
1754
- /**
1755
- * <p>Used to identify a specific kind of internal Node.js error that should not
1756
- * typically be triggered by user code. Instances of this error point to an
1757
- * internal bug within the Node.js binary itself.</p>
1758
- * <p><a id="ERR_UNKNOWN_CREDENTIAL"></a></p>
1759
- */
1760
- NodeError["ERR_UNKNOWN_BUILTIN_MODULE"] = "ERR_UNKNOWN_BUILTIN_MODULE";
1761
- /**
1762
- * <p>A Unix group or user identifier that does not exist was passed.</p>
1763
- * <p><a id="ERR_UNKNOWN_ENCODING"></a></p>
1764
- */
1765
- NodeError["ERR_UNKNOWN_CREDENTIAL"] = "ERR_UNKNOWN_CREDENTIAL";
1766
- /**
1767
- * <p>An invalid or unknown encoding option was passed to an API.</p>
1768
- * <p><a id="ERR_UNKNOWN_FILE_EXTENSION"></a></p>
1769
- */
1770
- NodeError["ERR_UNKNOWN_ENCODING"] = "ERR_UNKNOWN_ENCODING";
1771
- /**
1772
- * <p>An attempt was made to load a module with an unknown or unsupported file
1773
- * extension.</p>
1774
- * <p><a id="ERR_UNKNOWN_MODULE_FORMAT"></a></p>
1775
- */
1776
- NodeError["ERR_UNKNOWN_FILE_EXTENSION"] = "ERR_UNKNOWN_FILE_EXTENSION";
1777
- /**
1778
- * <p>An attempt was made to load a module with an unknown or unsupported format.</p>
1779
- * <p><a id="ERR_UNKNOWN_SIGNAL"></a></p>
1780
- */
1781
- NodeError["ERR_UNKNOWN_MODULE_FORMAT"] = "ERR_UNKNOWN_MODULE_FORMAT";
1782
- /**
1783
- * <p>An invalid or unknown process signal was passed to an API expecting a valid
1784
- * signal (such as <a href="child_process.html#subprocesskillsignal"><code>subprocess.kill()</code></a>).</p>
1785
- * <p><a id="ERR_UNSUPPORTED_DIR_IMPORT"></a></p>
1786
- */
1787
- NodeError["ERR_UNKNOWN_SIGNAL"] = "ERR_UNKNOWN_SIGNAL";
1788
- /**
1789
- * <p><code>import</code> a directory URL is unsupported. Instead,
1790
- * <a href="packages.html#self-referencing-a-package-using-its-name">self-reference a package using its name</a> and <a href="packages.html#subpath-exports">define a custom subpath</a> in
1791
- * the <a href="packages.html#exports"><code>"exports"</code></a> field of the <a href="packages.html#nodejs-packagejson-field-definitions"><code>package.json</code></a> file.</p>
1792
- * <pre><code class="language-mjs">import './'; // unsupported
1793
- * import './index.js'; // supported
1794
- * import 'package-name'; // supported
1795
- * </code></pre>
1796
- * <p><a id="ERR_UNSUPPORTED_ESM_URL_SCHEME"></a></p>
1797
- */
1798
- NodeError["ERR_UNSUPPORTED_DIR_IMPORT"] = "ERR_UNSUPPORTED_DIR_IMPORT";
1799
- /**
1800
- * <p><code>import</code> with URL schemes other than <code>file</code> and <code>data</code> is unsupported.</p>
1801
- * <p><a id="ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"></a></p>
1802
- */
1803
- NodeError["ERR_UNSUPPORTED_ESM_URL_SCHEME"] = "ERR_UNSUPPORTED_ESM_URL_SCHEME";
1804
- /**
1805
- * <p>Type stripping is not supported for files descendent of a <code>node_modules</code> directory.</p>
1806
- * <p><a id="ERR_UNSUPPORTED_RESOLVE_REQUEST"></a></p>
1807
- */
1808
- NodeError["ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING"] = "ERR_UNSUPPORTED_NODE_MODULES_TYPE_STRIPPING";
1809
- /**
1810
- * <p>An attempt was made to resolve an invalid module referrer. This can happen when
1811
- * importing or calling <code>import.meta.resolve()</code> with either:</p>
1812
- * <ul>
1813
- * <li>a bare specifier that is not a builtin module from a module whose URL scheme
1814
- * is not <code>file</code>.</li>
1815
- * <li>a <a href="https://url.spec.whatwg.org/#relative-url-string">relative URL</a> from a module whose URL scheme is not a <a href="https://url.spec.whatwg.org/#special-scheme">special scheme</a>.</li>
1816
- * </ul>
1817
- * <pre><code class="language-mjs">try {
1818
- * // Trying to import the package 'bare-specifier' from a `data:` URL module:
1819
- * await import('data:text/javascript,import "bare-specifier"');
1820
- * } catch (e) {
1821
- * console.log(e.code); // ERR_UNSUPPORTED_RESOLVE_REQUEST
1822
- * }
1823
- * </code></pre>
1824
- * <p><a id="ERR_USE_AFTER_CLOSE"></a></p>
1825
- */
1826
- NodeError["ERR_UNSUPPORTED_RESOLVE_REQUEST"] = "ERR_UNSUPPORTED_RESOLVE_REQUEST";
1827
- /**
1828
- * <p>An attempt was made to use something that was already closed.</p>
1829
- * <p><a id="ERR_VALID_PERFORMANCE_ENTRY_TYPE"></a></p>
1830
- */
1831
- NodeError["ERR_USE_AFTER_CLOSE"] = "ERR_USE_AFTER_CLOSE";
1832
- /**
1833
- * <p>While using the Performance Timing API (<code>perf_hooks</code>), no valid performance
1834
- * entry types are found.</p>
1835
- * <p><a id="ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING"></a></p>
1836
- */
1837
- NodeError["ERR_VALID_PERFORMANCE_ENTRY_TYPE"] = "ERR_VALID_PERFORMANCE_ENTRY_TYPE";
1838
- /**
1839
- * <p>A dynamic import callback was not specified.</p>
1840
- * <p><a id="ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG"></a></p>
1841
- */
1842
- NodeError["ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING"] = "ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING";
1843
- /**
1844
- * <p>A dynamic import callback was invoked without <code>--experimental-vm-modules</code>.</p>
1845
- * <p><a id="ERR_VM_MODULE_ALREADY_LINKED"></a></p>
1846
- */
1847
- NodeError["ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG"] = "ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING_FLAG";
1848
- /**
1849
- * <p>The module attempted to be linked is not eligible for linking, because of one of
1850
- * the following reasons:</p>
1851
- * <ul>
1852
- * <li>It has already been linked (<code>linkingStatus</code> is <code>'linked'</code>)</li>
1853
- * <li>It is being linked (<code>linkingStatus</code> is <code>'linking'</code>)</li>
1854
- * <li>Linking has failed for this module (<code>linkingStatus</code> is <code>'errored'</code>)</li>
1855
- * </ul>
1856
- * <p><a id="ERR_VM_MODULE_CACHED_DATA_REJECTED"></a></p>
1857
- */
1858
- NodeError["ERR_VM_MODULE_ALREADY_LINKED"] = "ERR_VM_MODULE_ALREADY_LINKED";
1859
- /**
1860
- * <p>The <code>cachedData</code> option passed to a module constructor is invalid.</p>
1861
- * <p><a id="ERR_VM_MODULE_CANNOT_CREATE_CACHED_DATA"></a></p>
1862
- */
1863
- NodeError["ERR_VM_MODULE_CACHED_DATA_REJECTED"] = "ERR_VM_MODULE_CACHED_DATA_REJECTED";
1864
- /**
1865
- * <p>Cached data cannot be created for modules which have already been evaluated.</p>
1866
- * <p><a id="ERR_VM_MODULE_DIFFERENT_CONTEXT"></a></p>
1867
- */
1868
- NodeError["ERR_VM_MODULE_CANNOT_CREATE_CACHED_DATA"] = "ERR_VM_MODULE_CANNOT_CREATE_CACHED_DATA";
1869
- /**
1870
- * <p>The module being returned from the linker function is from a different context
1871
- * than the parent module. Linked modules must share the same context.</p>
1872
- * <p><a id="ERR_VM_MODULE_LINK_FAILURE"></a></p>
1873
- */
1874
- NodeError["ERR_VM_MODULE_DIFFERENT_CONTEXT"] = "ERR_VM_MODULE_DIFFERENT_CONTEXT";
1875
- /**
1876
- * <p>The module was unable to be linked due to a failure.</p>
1877
- * <p><a id="ERR_VM_MODULE_NOT_MODULE"></a></p>
1878
- */
1879
- NodeError["ERR_VM_MODULE_LINK_FAILURE"] = "ERR_VM_MODULE_LINK_FAILURE";
1880
- /**
1881
- * <p>The fulfilled value of a linking promise is not a <code>vm.Module</code> object.</p>
1882
- * <p><a id="ERR_VM_MODULE_STATUS"></a></p>
1883
- */
1884
- NodeError["ERR_VM_MODULE_NOT_MODULE"] = "ERR_VM_MODULE_NOT_MODULE";
1885
- /**
1886
- * <p>The current module's status does not allow for this operation. The specific
1887
- * meaning of the error depends on the specific function.</p>
1888
- * <p><a id="ERR_WASI_ALREADY_STARTED"></a></p>
1889
- */
1890
- NodeError["ERR_VM_MODULE_STATUS"] = "ERR_VM_MODULE_STATUS";
1891
- /**
1892
- * <p>The WASI instance has already started.</p>
1893
- * <p><a id="ERR_WASI_NOT_STARTED"></a></p>
1894
- */
1895
- NodeError["ERR_WASI_ALREADY_STARTED"] = "ERR_WASI_ALREADY_STARTED";
1896
- /**
1897
- * <p>The WASI instance has not been started.</p>
1898
- * <p><a id="ERR_WEBASSEMBLY_RESPONSE"></a></p>
1899
- */
1900
- NodeError["ERR_WASI_NOT_STARTED"] = "ERR_WASI_NOT_STARTED";
1901
- /**
1902
- * <p>The <code>Response</code> that has been passed to <code>WebAssembly.compileStreaming</code> or to
1903
- * <code>WebAssembly.instantiateStreaming</code> is not a valid WebAssembly response.</p>
1904
- * <p><a id="ERR_WORKER_INIT_FAILED"></a></p>
1905
- */
1906
- NodeError["ERR_WEBASSEMBLY_RESPONSE"] = "ERR_WEBASSEMBLY_RESPONSE";
1907
- /**
1908
- * <p>The <code>Worker</code> initialization failed.</p>
1909
- * <p><a id="ERR_WORKER_INVALID_EXEC_ARGV"></a></p>
1910
- */
1911
- NodeError["ERR_WORKER_INIT_FAILED"] = "ERR_WORKER_INIT_FAILED";
1912
- /**
1913
- * <p>The <code>execArgv</code> option passed to the <code>Worker</code> constructor contains
1914
- * invalid flags.</p>
1915
- * <p><a id="ERR_WORKER_MESSAGING_ERRORED"></a></p>
1916
- */
1917
- NodeError["ERR_WORKER_INVALID_EXEC_ARGV"] = "ERR_WORKER_INVALID_EXEC_ARGV";
1918
- /**
1919
- * <p>The destination thread threw an error while processing a message sent via <a href="worker_threads.html#workerpostmessagetothreadthreadid-value-transferlist-timeout"><code>postMessageToThread()</code></a>.</p>
1920
- * <p><a id="ERR_WORKER_MESSAGING_FAILED"></a></p>
1921
- */
1922
- NodeError["ERR_WORKER_MESSAGING_ERRORED"] = "ERR_WORKER_MESSAGING_ERRORED";
1923
- /**
1924
- * <p>The thread requested in <a href="worker_threads.html#workerpostmessagetothreadthreadid-value-transferlist-timeout"><code>postMessageToThread()</code></a> is invalid or has no <code>workerMessage</code> listener.</p>
1925
- * <p><a id="ERR_WORKER_MESSAGING_SAME_THREAD"></a></p>
1926
- */
1927
- NodeError["ERR_WORKER_MESSAGING_FAILED"] = "ERR_WORKER_MESSAGING_FAILED";
1928
- /**
1929
- * <p>The thread id requested in <a href="worker_threads.html#workerpostmessagetothreadthreadid-value-transferlist-timeout"><code>postMessageToThread()</code></a> is the current thread id.</p>
1930
- * <p><a id="ERR_WORKER_MESSAGING_TIMEOUT"></a></p>
1931
- */
1932
- NodeError["ERR_WORKER_MESSAGING_SAME_THREAD"] = "ERR_WORKER_MESSAGING_SAME_THREAD";
1933
- /**
1934
- * <p>Sending a message via <a href="worker_threads.html#workerpostmessagetothreadthreadid-value-transferlist-timeout"><code>postMessageToThread()</code></a> timed out.</p>
1935
- * <p><a id="ERR_WORKER_NOT_RUNNING"></a></p>
1936
- */
1937
- NodeError["ERR_WORKER_MESSAGING_TIMEOUT"] = "ERR_WORKER_MESSAGING_TIMEOUT";
1938
- /**
1939
- * <p>An operation failed because the <code>Worker</code> instance is not currently running.</p>
1940
- * <p><a id="ERR_WORKER_OUT_OF_MEMORY"></a></p>
1941
- */
1942
- NodeError["ERR_WORKER_NOT_RUNNING"] = "ERR_WORKER_NOT_RUNNING";
1943
- /**
1944
- * <p>The <code>Worker</code> instance terminated because it reached its memory limit.</p>
1945
- * <p><a id="ERR_WORKER_PATH"></a></p>
1946
- */
1947
- NodeError["ERR_WORKER_OUT_OF_MEMORY"] = "ERR_WORKER_OUT_OF_MEMORY";
1948
- /**
1949
- * <p>The path for the main script of a worker is neither an absolute path
1950
- * nor a relative path starting with <code>./</code> or <code>../</code>.</p>
1951
- * <p><a id="ERR_WORKER_UNSERIALIZABLE_ERROR"></a></p>
1952
- */
1953
- NodeError["ERR_WORKER_PATH"] = "ERR_WORKER_PATH";
1954
- /**
1955
- * <p>All attempts at serializing an uncaught exception from a worker thread failed.</p>
1956
- * <p><a id="ERR_WORKER_UNSUPPORTED_OPERATION"></a></p>
1957
- */
1958
- NodeError["ERR_WORKER_UNSERIALIZABLE_ERROR"] = "ERR_WORKER_UNSERIALIZABLE_ERROR";
1959
- /**
1960
- * <p>The requested functionality is not supported in worker threads.</p>
1961
- * <p><a id="ERR_ZLIB_INITIALIZATION_FAILED"></a></p>
1962
- */
1963
- NodeError["ERR_WORKER_UNSUPPORTED_OPERATION"] = "ERR_WORKER_UNSUPPORTED_OPERATION";
1964
- /**
1965
- * <p>Creation of a <a href="zlib.html"><code>zlib</code></a> object failed due to incorrect configuration.</p>
1966
- * <p><a id="HPE_CHUNK_EXTENSIONS_OVERFLOW"></a></p>
1967
- */
1968
- NodeError["ERR_ZLIB_INITIALIZATION_FAILED"] = "ERR_ZLIB_INITIALIZATION_FAILED";
1969
- /**
1970
- * <p>Too much data was received for a chunk extensions. In order to protect against
1971
- * malicious or malconfigured clients, if more than 16 KiB of data is received
1972
- * then an <code>Error</code> with this code will be emitted.</p>
1973
- * <p><a id="HPE_HEADER_OVERFLOW"></a></p>
1974
- */
1975
- NodeError["HPE_CHUNK_EXTENSIONS_OVERFLOW"] = "HPE_CHUNK_EXTENSIONS_OVERFLOW";
1976
- /**
1977
- * <p>Too much HTTP header data was received. In order to protect against malicious or
1978
- * malconfigured clients, if more than <code>maxHeaderSize</code> of HTTP header data is received then
1979
- * HTTP parsing will abort without a request or response object being created, and
1980
- * an <code>Error</code> with this code will be emitted.</p>
1981
- * <p><a id="HPE_UNEXPECTED_CONTENT_LENGTH"></a></p>
1982
- */
1983
- NodeError["HPE_HEADER_OVERFLOW"] = "HPE_HEADER_OVERFLOW";
1984
- /**
1985
- * <p>Server is sending both a <code>Content-Length</code> header and <code>Transfer-Encoding: chunked</code>.</p>
1986
- * <p><code>Transfer-Encoding: chunked</code> allows the server to maintain an HTTP persistent
1987
- * connection for dynamically generated content.
1988
- * In this case, the <code>Content-Length</code> HTTP header cannot be used.</p>
1989
- * <p>Use <code>Content-Length</code> or <code>Transfer-Encoding: chunked</code>.</p>
1990
- * <p><a id="MODULE_NOT_FOUND"></a></p>
1991
- */
1992
- NodeError["HPE_UNEXPECTED_CONTENT_LENGTH"] = "HPE_UNEXPECTED_CONTENT_LENGTH";
1993
- /**
1994
- * <p>A module file could not be resolved by the CommonJS modules loader while
1995
- * attempting a <a href="modules.html#requireid"><code>require()</code></a> operation or when loading the program entry point.</p>
1996
- */
1997
- NodeError["MODULE_NOT_FOUND"] = "MODULE_NOT_FOUND";
1998
- /**
1999
- * <p>The value passed to <code>postMessage()</code> contained an object that is not supported
2000
- * for transferring.</p>
2001
- * <p><a id="ERR_CPU_USAGE"></a></p>
2002
- * @deprecated
2003
- */
2004
- NodeError["ERR_CANNOT_TRANSFER_OBJECT"] = "ERR_CANNOT_TRANSFER_OBJECT";
2005
- /**
2006
- * <p>The native call from <code>process.cpuUsage</code> could not be processed.</p>
2007
- * <p><a id="ERR_CRYPTO_HASH_DIGEST_NO_UTF16"></a></p>
2008
- * @deprecated
2009
- */
2010
- NodeError["ERR_CPU_USAGE"] = "ERR_CPU_USAGE";
2011
- /**
2012
- * <p>The UTF-16 encoding was used with <a href="crypto.html#hashdigestencoding"><code>hash.digest()</code></a>. While the
2013
- * <code>hash.digest()</code> method does allow an <code>encoding</code> argument to be passed in,
2014
- * causing the method to return a string rather than a <code>Buffer</code>, the UTF-16
2015
- * encoding (e.g. <code>ucs</code> or <code>utf16le</code>) is not supported.</p>
2016
- * <p><a id="ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"></a></p>
2017
- * @deprecated
2018
- */
2019
- NodeError["ERR_CRYPTO_HASH_DIGEST_NO_UTF16"] = "ERR_CRYPTO_HASH_DIGEST_NO_UTF16";
2020
- /**
2021
- * <p>An incompatible combination of options was passed to <a href="crypto.html#cryptoscryptpassword-salt-keylen-options-callback"><code>crypto.scrypt()</code></a> or
2022
- * <a href="crypto.html#cryptoscryptsyncpassword-salt-keylen-options"><code>crypto.scryptSync()</code></a>. New versions of Node.js use the error code
2023
- * <a href="#err_incompatible_option_pair"><code>ERR_INCOMPATIBLE_OPTION_PAIR</code></a> instead, which is consistent with other APIs.</p>
2024
- * <p><a id="ERR_FS_INVALID_SYMLINK_TYPE"></a></p>
2025
- * @deprecated
2026
- */
2027
- NodeError["ERR_CRYPTO_SCRYPT_INVALID_PARAMETER"] = "ERR_CRYPTO_SCRYPT_INVALID_PARAMETER";
2028
- /**
2029
- * <p>An invalid symlink type was passed to the <a href="fs.html#fssymlinktarget-path-type-callback"><code>fs.symlink()</code></a> or
2030
- * <a href="fs.html#fssymlinksynctarget-path-type"><code>fs.symlinkSync()</code></a> methods.</p>
2031
- * <p><a id="ERR_HTTP2_FRAME_ERROR"></a></p>
2032
- * @deprecated
2033
- */
2034
- NodeError["ERR_FS_INVALID_SYMLINK_TYPE"] = "ERR_FS_INVALID_SYMLINK_TYPE";
2035
- /**
2036
- * <p>Used when a failure occurs sending an individual frame on the HTTP/2
2037
- * session.</p>
2038
- * <p><a id="ERR_HTTP2_HEADERS_OBJECT"></a></p>
2039
- * @deprecated
2040
- */
2041
- NodeError["ERR_HTTP2_FRAME_ERROR"] = "ERR_HTTP2_FRAME_ERROR";
2042
- /**
2043
- * <p>Used when an HTTP/2 Headers Object is expected.</p>
2044
- * <p><a id="ERR_HTTP2_HEADER_REQUIRED"></a></p>
2045
- * @deprecated
2046
- */
2047
- NodeError["ERR_HTTP2_HEADERS_OBJECT"] = "ERR_HTTP2_HEADERS_OBJECT";
2048
- /**
2049
- * <p>Used when a required header is missing in an HTTP/2 message.</p>
2050
- * <p><a id="ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND"></a></p>
2051
- * @deprecated
2052
- */
2053
- NodeError["ERR_HTTP2_HEADER_REQUIRED"] = "ERR_HTTP2_HEADER_REQUIRED";
2054
- /**
2055
- * <p>HTTP/2 informational headers must only be sent <em>prior</em> to calling the
2056
- * <code>Http2Stream.prototype.respond()</code> method.</p>
2057
- * <p><a id="ERR_HTTP2_STREAM_CLOSED"></a></p>
2058
- * @deprecated
2059
- */
2060
- NodeError["ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND"] = "ERR_HTTP2_INFO_HEADERS_AFTER_RESPOND";
2061
- /**
2062
- * <p>Used when an action has been performed on an HTTP/2 Stream that has already
2063
- * been closed.</p>
2064
- * <p><a id="ERR_HTTP_INVALID_CHAR"></a></p>
2065
- * @deprecated
2066
- */
2067
- NodeError["ERR_HTTP2_STREAM_CLOSED"] = "ERR_HTTP2_STREAM_CLOSED";
2068
- /**
2069
- * <p>Used when an invalid character is found in an HTTP response status message
2070
- * (reason phrase).</p>
2071
- * <p><a id="ERR_IMPORT_ASSERTION_TYPE_FAILED"></a></p>
2072
- * @deprecated
2073
- */
2074
- NodeError["ERR_HTTP_INVALID_CHAR"] = "ERR_HTTP_INVALID_CHAR";
2075
- /**
2076
- * <p>An import assertion has failed, preventing the specified module to be imported.</p>
2077
- * <p><a id="ERR_IMPORT_ASSERTION_TYPE_MISSING"></a></p>
2078
- * @deprecated
2079
- */
2080
- NodeError["ERR_IMPORT_ASSERTION_TYPE_FAILED"] = "ERR_IMPORT_ASSERTION_TYPE_FAILED";
2081
- /**
2082
- * <p>An import assertion is missing, preventing the specified module to be imported.</p>
2083
- * <p><a id="ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED"></a></p>
2084
- * @deprecated
2085
- */
2086
- NodeError["ERR_IMPORT_ASSERTION_TYPE_MISSING"] = "ERR_IMPORT_ASSERTION_TYPE_MISSING";
2087
- /**
2088
- * <p>An import attribute is not supported by this version of Node.js.</p>
2089
- * <p><a id="ERR_INDEX_OUT_OF_RANGE"></a></p>
2090
- * @deprecated
2091
- */
2092
- NodeError["ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED"] = "ERR_IMPORT_ASSERTION_TYPE_UNSUPPORTED";
2093
- /**
2094
- * <p>A given index was out of the accepted range (e.g. negative offsets).</p>
2095
- * <p><a id="ERR_INVALID_OPT_VALUE"></a></p>
2096
- * @deprecated
2097
- */
2098
- NodeError["ERR_INDEX_OUT_OF_RANGE"] = "ERR_INDEX_OUT_OF_RANGE";
2099
- /**
2100
- * <p>An invalid or unexpected value was passed in an options object.</p>
2101
- * <p><a id="ERR_INVALID_OPT_VALUE_ENCODING"></a></p>
2102
- * @deprecated
2103
- */
2104
- NodeError["ERR_INVALID_OPT_VALUE"] = "ERR_INVALID_OPT_VALUE";
2105
- /**
2106
- * <p>An invalid or unknown file encoding was passed.</p>
2107
- * <p><a id="ERR_INVALID_PERFORMANCE_MARK"></a></p>
2108
- * @deprecated
2109
- */
2110
- NodeError["ERR_INVALID_OPT_VALUE_ENCODING"] = "ERR_INVALID_OPT_VALUE_ENCODING";
2111
- /**
2112
- * <p>While using the Performance Timing API (<code>perf_hooks</code>), a performance mark is
2113
- * invalid.</p>
2114
- * <p><a id="ERR_INVALID_TRANSFER_OBJECT"></a></p>
2115
- * @deprecated
2116
- */
2117
- NodeError["ERR_INVALID_PERFORMANCE_MARK"] = "ERR_INVALID_PERFORMANCE_MARK";
2118
- /**
2119
- * <p>An invalid transfer object was passed to <code>postMessage()</code>.</p>
2120
- * <p><a id="ERR_MANIFEST_ASSERT_INTEGRITY"></a></p>
2121
- * @deprecated
2122
- */
2123
- NodeError["ERR_INVALID_TRANSFER_OBJECT"] = "ERR_INVALID_TRANSFER_OBJECT";
2124
- /**
2125
- * <p>An attempt was made to load a resource, but the resource did not match the
2126
- * integrity defined by the policy manifest. See the documentation for policy
2127
- * manifests for more information.</p>
2128
- * <p><a id="ERR_MANIFEST_DEPENDENCY_MISSING"></a></p>
2129
- * @deprecated
2130
- */
2131
- NodeError["ERR_MANIFEST_ASSERT_INTEGRITY"] = "ERR_MANIFEST_ASSERT_INTEGRITY";
2132
- /**
2133
- * <p>An attempt was made to load a resource, but the resource was not listed as a
2134
- * dependency from the location that attempted to load it. See the documentation
2135
- * for policy manifests for more information.</p>
2136
- * <p><a id="ERR_MANIFEST_INTEGRITY_MISMATCH"></a></p>
2137
- * @deprecated
2138
- */
2139
- NodeError["ERR_MANIFEST_DEPENDENCY_MISSING"] = "ERR_MANIFEST_DEPENDENCY_MISSING";
2140
- /**
2141
- * <p>An attempt was made to load a policy manifest, but the manifest had multiple
2142
- * entries for a resource which did not match each other. Update the manifest
2143
- * entries to match in order to resolve this error. See the documentation for
2144
- * policy manifests for more information.</p>
2145
- * <p><a id="ERR_MANIFEST_INVALID_RESOURCE_FIELD"></a></p>
2146
- * @deprecated
2147
- */
2148
- NodeError["ERR_MANIFEST_INTEGRITY_MISMATCH"] = "ERR_MANIFEST_INTEGRITY_MISMATCH";
2149
- /**
2150
- * <p>A policy manifest resource had an invalid value for one of its fields. Update
2151
- * the manifest entry to match in order to resolve this error. See the
2152
- * documentation for policy manifests for more information.</p>
2153
- * <p><a id="ERR_MANIFEST_INVALID_SPECIFIER"></a></p>
2154
- * @deprecated
2155
- */
2156
- NodeError["ERR_MANIFEST_INVALID_RESOURCE_FIELD"] = "ERR_MANIFEST_INVALID_RESOURCE_FIELD";
2157
- /**
2158
- * <p>A policy manifest resource had an invalid value for one of its dependency
2159
- * mappings. Update the manifest entry to match to resolve this error. See the
2160
- * documentation for policy manifests for more information.</p>
2161
- * <p><a id="ERR_MANIFEST_PARSE_POLICY"></a></p>
2162
- * @deprecated
2163
- */
2164
- NodeError["ERR_MANIFEST_INVALID_SPECIFIER"] = "ERR_MANIFEST_INVALID_SPECIFIER";
2165
- /**
2166
- * <p>An attempt was made to load a policy manifest, but the manifest was unable to
2167
- * be parsed. See the documentation for policy manifests for more information.</p>
2168
- * <p><a id="ERR_MANIFEST_TDZ"></a></p>
2169
- * @deprecated
2170
- */
2171
- NodeError["ERR_MANIFEST_PARSE_POLICY"] = "ERR_MANIFEST_PARSE_POLICY";
2172
- /**
2173
- * <p>An attempt was made to read from a policy manifest, but the manifest
2174
- * initialization has not yet taken place. This is likely a bug in Node.js.</p>
2175
- * <p><a id="ERR_MANIFEST_UNKNOWN_ONERROR"></a></p>
2176
- * @deprecated
2177
- */
2178
- NodeError["ERR_MANIFEST_TDZ"] = "ERR_MANIFEST_TDZ";
2179
- /**
2180
- * <p>A policy manifest was loaded, but had an unknown value for its "onerror"
2181
- * behavior. See the documentation for policy manifests for more information.</p>
2182
- * <p><a id="ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST"></a></p>
2183
- * @deprecated
2184
- */
2185
- NodeError["ERR_MANIFEST_UNKNOWN_ONERROR"] = "ERR_MANIFEST_UNKNOWN_ONERROR";
2186
- /**
2187
- * <p>This error code was replaced by <a href="#err_missing_transferable_in_transfer_list"><code>ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST</code></a>
2188
- * in Node.js v15.0.0, because it is no longer accurate as other types of
2189
- * transferable objects also exist now.</p>
2190
- * <p><a id="ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST"></a></p>
2191
- * @deprecated
2192
- */
2193
- NodeError["ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST"] = "ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST";
2194
- /**
2195
- * <p>An object that needs to be explicitly listed in the <code>transferList</code> argument
2196
- * is in the object passed to a <a href="worker_threads.html#portpostmessagevalue-transferlist"><code>postMessage()</code></a> call, but is not provided
2197
- * in the <code>transferList</code> for that call. Usually, this is a <code>MessagePort</code>.</p>
2198
- * <p>In Node.js versions prior to v15.0.0, the error code being used here was
2199
- * <a href="#err_missing_message_port_in_transfer_list"><code>ERR_MISSING_MESSAGE_PORT_IN_TRANSFER_LIST</code></a>. However, the set of
2200
- * transferable object types has been expanded to cover more types than
2201
- * <code>MessagePort</code>.</p>
2202
- * <p><a id="ERR_NAPI_CONS_PROTOTYPE_OBJECT"></a></p>
2203
- * @deprecated
2204
- */
2205
- NodeError["ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST"] = "ERR_MISSING_TRANSFERABLE_IN_TRANSFER_LIST";
2206
- /**
2207
- * <p>Used by the <code>Node-API</code> when <code>Constructor.prototype</code> is not an object.</p>
2208
- * <p><a id="ERR_NAPI_TSFN_START_IDLE_LOOP"></a></p>
2209
- * @deprecated
2210
- */
2211
- NodeError["ERR_NAPI_CONS_PROTOTYPE_OBJECT"] = "ERR_NAPI_CONS_PROTOTYPE_OBJECT";
2212
- /**
2213
- * <p>On the main thread, values are removed from the queue associated with the
2214
- * thread-safe function in an idle loop. This error indicates that an error
2215
- * has occurred when attempting to start the loop.</p>
2216
- * <p><a id="ERR_NAPI_TSFN_STOP_IDLE_LOOP"></a></p>
2217
- * @deprecated
2218
- */
2219
- NodeError["ERR_NAPI_TSFN_START_IDLE_LOOP"] = "ERR_NAPI_TSFN_START_IDLE_LOOP";
2220
- /**
2221
- * <p>Once no more items are left in the queue, the idle loop must be suspended. This
2222
- * error indicates that the idle loop has failed to stop.</p>
2223
- * <p><a id="ERR_NO_LONGER_SUPPORTED"></a></p>
2224
- * @deprecated
2225
- */
2226
- NodeError["ERR_NAPI_TSFN_STOP_IDLE_LOOP"] = "ERR_NAPI_TSFN_STOP_IDLE_LOOP";
2227
- /**
2228
- * <p>A Node.js API was called in an unsupported manner, such as
2229
- * <code>Buffer.write(string, encoding, offset[, length])</code>.</p>
2230
- * <p><a id="ERR_OUTOFMEMORY"></a></p>
2231
- * @deprecated
2232
- */
2233
- NodeError["ERR_NO_LONGER_SUPPORTED"] = "ERR_NO_LONGER_SUPPORTED";
2234
- /**
2235
- * <p>Used generically to identify that an operation caused an out of memory
2236
- * condition.</p>
2237
- * <p><a id="ERR_PARSE_HISTORY_DATA"></a></p>
2238
- * @deprecated
2239
- */
2240
- NodeError["ERR_OUTOFMEMORY"] = "ERR_OUTOFMEMORY";
2241
- /**
2242
- * <p>The <code>node:repl</code> module was unable to parse data from the REPL history file.</p>
2243
- * <p><a id="ERR_SOCKET_CANNOT_SEND"></a></p>
2244
- * @deprecated
2245
- */
2246
- NodeError["ERR_PARSE_HISTORY_DATA"] = "ERR_PARSE_HISTORY_DATA";
2247
- /**
2248
- * <p>Data could not be sent on a socket.</p>
2249
- * <p><a id="ERR_STDERR_CLOSE"></a></p>
2250
- * @deprecated
2251
- */
2252
- NodeError["ERR_SOCKET_CANNOT_SEND"] = "ERR_SOCKET_CANNOT_SEND";
2253
- /**
2254
- * <p>An attempt was made to close the <code>process.stderr</code> stream. By design, Node.js
2255
- * does not allow <code>stdout</code> or <code>stderr</code> streams to be closed by user code.</p>
2256
- * <p><a id="ERR_STDOUT_CLOSE"></a></p>
2257
- * @deprecated
2258
- */
2259
- NodeError["ERR_STDERR_CLOSE"] = "ERR_STDERR_CLOSE";
2260
- /**
2261
- * <p>An attempt was made to close the <code>process.stdout</code> stream. By design, Node.js
2262
- * does not allow <code>stdout</code> or <code>stderr</code> streams to be closed by user code.</p>
2263
- * <p><a id="ERR_STREAM_READ_NOT_IMPLEMENTED"></a></p>
2264
- * @deprecated
2265
- */
2266
- NodeError["ERR_STDOUT_CLOSE"] = "ERR_STDOUT_CLOSE";
2267
- /**
2268
- * <p>Used when an attempt is made to use a readable stream that has not implemented
2269
- * <a href="stream.html#readable_readsize"><code>readable._read()</code></a>.</p>
2270
- * <p><a id="ERR_TLS_RENEGOTIATION_FAILED"></a></p>
2271
- * @deprecated
2272
- */
2273
- NodeError["ERR_STREAM_READ_NOT_IMPLEMENTED"] = "ERR_STREAM_READ_NOT_IMPLEMENTED";
2274
- /**
2275
- * <p>Used when a TLS renegotiation request has failed in a non-specific way.</p>
2276
- * <p><a id="ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"></a></p>
2277
- * @deprecated
2278
- */
2279
- NodeError["ERR_TLS_RENEGOTIATION_FAILED"] = "ERR_TLS_RENEGOTIATION_FAILED";
2280
- /**
2281
- * <p>A <code>SharedArrayBuffer</code> whose memory is not managed by the JavaScript engine
2282
- * or by Node.js was encountered during serialization. Such a <code>SharedArrayBuffer</code>
2283
- * cannot be serialized.</p>
2284
- * <p>This can only happen when native addons create <code>SharedArrayBuffer</code>s in
2285
- * "externalized" mode, or put existing <code>SharedArrayBuffer</code> into externalized mode.</p>
2286
- * <p><a id="ERR_UNKNOWN_STDIN_TYPE"></a></p>
2287
- * @deprecated
2288
- */
2289
- NodeError["ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER"] = "ERR_TRANSFERRING_EXTERNALIZED_SHAREDARRAYBUFFER";
2290
- /**
2291
- * <p>An attempt was made to launch a Node.js process with an unknown <code>stdin</code> file
2292
- * type. This error is usually an indication of a bug within Node.js itself,
2293
- * although it is possible for user code to trigger it.</p>
2294
- * <p><a id="ERR_UNKNOWN_STREAM_TYPE"></a></p>
2295
- * @deprecated
2296
- */
2297
- NodeError["ERR_UNKNOWN_STDIN_TYPE"] = "ERR_UNKNOWN_STDIN_TYPE";
2298
- /**
2299
- * <p>An attempt was made to launch a Node.js process with an unknown <code>stdout</code> or
2300
- * <code>stderr</code> file type. This error is usually an indication of a bug within Node.js
2301
- * itself, although it is possible for user code to trigger it.</p>
2302
- * <p><a id="ERR_V8BREAKITERATOR"></a></p>
2303
- * @deprecated
2304
- */
2305
- NodeError["ERR_UNKNOWN_STREAM_TYPE"] = "ERR_UNKNOWN_STREAM_TYPE";
2306
- /**
2307
- * <p>The V8 <code>BreakIterator</code> API was used but the full ICU data set is not installed.</p>
2308
- * <p><a id="ERR_VALUE_OUT_OF_RANGE"></a></p>
2309
- * @deprecated
2310
- */
2311
- NodeError["ERR_V8BREAKITERATOR"] = "ERR_V8BREAKITERATOR";
2312
- /**
2313
- * <p>Used when a given value is out of the accepted range.</p>
2314
- * <p><a id="ERR_VM_MODULE_LINKING_ERRORED"></a></p>
2315
- * @deprecated
2316
- */
2317
- NodeError["ERR_VALUE_OUT_OF_RANGE"] = "ERR_VALUE_OUT_OF_RANGE";
2318
- /**
2319
- * <p>The linker function returned a module for which linking has failed.</p>
2320
- * <p><a id="ERR_VM_MODULE_NOT_LINKED"></a></p>
2321
- * @deprecated
2322
- */
2323
- NodeError["ERR_VM_MODULE_LINKING_ERRORED"] = "ERR_VM_MODULE_LINKING_ERRORED";
2324
- /**
2325
- * <p>The module must be successfully linked before instantiation.</p>
2326
- * <p><a id="ERR_WORKER_UNSUPPORTED_EXTENSION"></a></p>
2327
- * @deprecated
2328
- */
2329
- NodeError["ERR_VM_MODULE_NOT_LINKED"] = "ERR_VM_MODULE_NOT_LINKED";
2330
- /**
2331
- * <p>The pathname used for the main script of a worker has an
2332
- * unknown file extension.</p>
2333
- * <p><a id="ERR_ZLIB_BINDING_CLOSED"></a></p>
2334
- * @deprecated
2335
- */
2336
- NodeError["ERR_WORKER_UNSUPPORTED_EXTENSION"] = "ERR_WORKER_UNSUPPORTED_EXTENSION";
2337
- /**
2338
- * <p>Used when an attempt is made to use a <code>zlib</code> object after it has already been
2339
- * closed.</p>
2340
- * <p><a id="openssl-error-codes"></a></p>
2341
- * @deprecated
2342
- */
2343
- NodeError["ERR_ZLIB_BINDING_CLOSED"] = "ERR_ZLIB_BINDING_CLOSED";
2344
- })(NodeError || (exports.NodeError = NodeError = {}));
2345
- var OpenSSLError;
2346
- (function (OpenSSLError) {
2347
- /**
2348
- * <p>The certificate is not yet valid: the notBefore date is after the current time.</p>
2349
- * <p><a id="CERT_HAS_EXPIRED"></a></p>
2350
- */
2351
- OpenSSLError["CERT_NOT_YET_VALID"] = "CERT_NOT_YET_VALID";
2352
- /**
2353
- * <p>The certificate has expired: the notAfter date is before the current time.</p>
2354
- * <p><a id="CRL_NOT_YET_VALID"></a></p>
2355
- */
2356
- OpenSSLError["CERT_HAS_EXPIRED"] = "CERT_HAS_EXPIRED";
2357
- /**
2358
- * <p>The certificate revocation list (CRL) has a future issue date.</p>
2359
- * <p><a id="CRL_HAS_EXPIRED"></a></p>
2360
- */
2361
- OpenSSLError["CRL_NOT_YET_VALID"] = "CRL_NOT_YET_VALID";
2362
- /**
2363
- * <p>The certificate revocation list (CRL) has expired.</p>
2364
- * <p><a id="CERT_REVOKED"></a></p>
2365
- */
2366
- OpenSSLError["CRL_HAS_EXPIRED"] = "CRL_HAS_EXPIRED";
2367
- /**
2368
- * <p>The certificate has been revoked; it is on a certificate revocation list (CRL).</p>
2369
- * <p><a id="Trust or Chain Related Errors"></a></p>
2370
- */
2371
- OpenSSLError["CERT_REVOKED"] = "CERT_REVOKED";
2372
- /**
2373
- * <p>The issuer certificate of a looked up certificate could not be found. This
2374
- * normally means the list of trusted certificates is not complete.</p>
2375
- * <p><a id="UNABLE_TO_GET_ISSUER_CERT_LOCALLY"></a></p>
2376
- */
2377
- OpenSSLError["UNABLE_TO_GET_ISSUER_CERT"] = "UNABLE_TO_GET_ISSUER_CERT";
2378
- /**
2379
- * <p>The certificate’s issuer is not known. This is the case if the issuer is not
2380
- * included in the trusted certificate list.</p>
2381
- * <p><a id="DEPTH_ZERO_SELF_SIGNED_CERT"></a></p>
2382
- */
2383
- OpenSSLError["UNABLE_TO_GET_ISSUER_CERT_LOCALLY"] = "UNABLE_TO_GET_ISSUER_CERT_LOCALLY";
2384
- /**
2385
- * <p>The passed certificate is self-signed and the same certificate cannot be found
2386
- * in the list of trusted certificates.</p>
2387
- * <p><a id="SELF_SIGNED_CERT_IN_CHAIN"></a></p>
2388
- */
2389
- OpenSSLError["DEPTH_ZERO_SELF_SIGNED_CERT"] = "DEPTH_ZERO_SELF_SIGNED_CERT";
2390
- /**
2391
- * <p>The certificate’s issuer is not known. This is the case if the issuer is not
2392
- * included in the trusted certificate list.</p>
2393
- * <p><a id="CERT_CHAIN_TOO_LONG"></a></p>
2394
- */
2395
- OpenSSLError["SELF_SIGNED_CERT_IN_CHAIN"] = "SELF_SIGNED_CERT_IN_CHAIN";
2396
- /**
2397
- * <p>The certificate chain length is greater than the maximum depth.</p>
2398
- * <p><a id="UNABLE_TO_GET_CRL"></a></p>
2399
- */
2400
- OpenSSLError["CERT_CHAIN_TOO_LONG"] = "CERT_CHAIN_TOO_LONG";
2401
- /**
2402
- * <p>The CRL reference by the certificate could not be found.</p>
2403
- * <p><a id="UNABLE_TO_VERIFY_LEAF_SIGNATURE"></a></p>
2404
- */
2405
- OpenSSLError["UNABLE_TO_GET_CRL"] = "UNABLE_TO_GET_CRL";
2406
- /**
2407
- * <p>No signatures could be verified because the chain contains only one certificate
2408
- * and it is not self signed.</p>
2409
- * <p><a id="CERT_UNTRUSTED"></a></p>
2410
- */
2411
- OpenSSLError["UNABLE_TO_VERIFY_LEAF_SIGNATURE"] = "UNABLE_TO_VERIFY_LEAF_SIGNATURE";
2412
- /**
2413
- * <p>The root certificate authority (CA) is not marked as trusted for the specified
2414
- * purpose.</p>
2415
- * <p><a id="Basic Extension Errors"></a></p>
2416
- */
2417
- OpenSSLError["CERT_UNTRUSTED"] = "CERT_UNTRUSTED";
2418
- /**
2419
- * <p>A CA certificate is invalid. Either it is not a CA or its extensions are not
2420
- * consistent with the supplied purpose.</p>
2421
- * <p><a id="PATH_LENGTH_EXCEEDED"></a></p>
2422
- */
2423
- OpenSSLError["INVALID_CA"] = "INVALID_CA";
2424
- /**
2425
- * <p>The basicConstraints pathlength parameter has been exceeded.</p>
2426
- * <p><a id="Name Related Errors"></a></p>
2427
- */
2428
- OpenSSLError["PATH_LENGTH_EXCEEDED"] = "PATH_LENGTH_EXCEEDED";
2429
- /**
2430
- * <p>Certificate does not match provided name.</p>
2431
- * <p><a id="Usage and Policy Errors"></a></p>
2432
- */
2433
- OpenSSLError["HOSTNAME_MISMATCH"] = "HOSTNAME_MISMATCH";
2434
- /**
2435
- * <p>The supplied certificate cannot be used for the specified purpose.</p>
2436
- * <p><a id="CERT_REJECTED"></a></p>
2437
- */
2438
- OpenSSLError["INVALID_PURPOSE"] = "INVALID_PURPOSE";
2439
- /**
2440
- * <p>The root CA is marked to reject the specified purpose.</p>
2441
- * <p><a id="Formatting Errors"></a></p>
2442
- */
2443
- OpenSSLError["CERT_REJECTED"] = "CERT_REJECTED";
2444
- /**
2445
- * <p>The signature of the certificate is invalid.</p>
2446
- * <p><a id="CRL_SIGNATURE_FAILURE"></a></p>
2447
- */
2448
- OpenSSLError["CERT_SIGNATURE_FAILURE"] = "CERT_SIGNATURE_FAILURE";
2449
- /**
2450
- * <p>The signature of the certificate revocation list (CRL) is invalid.</p>
2451
- * <p><a id="ERROR_IN_CERT_NOT_BEFORE_FIELD"></a></p>
2452
- */
2453
- OpenSSLError["CRL_SIGNATURE_FAILURE"] = "CRL_SIGNATURE_FAILURE";
2454
- /**
2455
- * <p>The certificate notBefore field contains an invalid time.</p>
2456
- * <p><a id="ERROR_IN_CERT_NOT_AFTER_FIELD"></a></p>
2457
- */
2458
- OpenSSLError["ERROR_IN_CERT_NOT_BEFORE_FIELD"] = "ERROR_IN_CERT_NOT_BEFORE_FIELD";
2459
- /**
2460
- * <p>The certificate notAfter field contains an invalid time.</p>
2461
- * <p><a id="ERROR_IN_CRL_LAST_UPDATE_FIELD"></a></p>
2462
- */
2463
- OpenSSLError["ERROR_IN_CERT_NOT_AFTER_FIELD"] = "ERROR_IN_CERT_NOT_AFTER_FIELD";
2464
- /**
2465
- * <p>The CRL lastUpdate field contains an invalid time.</p>
2466
- * <p><a id="ERROR_IN_CRL_NEXT_UPDATE_FIELD"></a></p>
2467
- */
2468
- OpenSSLError["ERROR_IN_CRL_LAST_UPDATE_FIELD"] = "ERROR_IN_CRL_LAST_UPDATE_FIELD";
2469
- /**
2470
- * <p>The CRL nextUpdate field contains an invalid time.</p>
2471
- * <p><a id="UNABLE_TO_DECRYPT_CERT_SIGNATURE"></a></p>
2472
- */
2473
- OpenSSLError["ERROR_IN_CRL_NEXT_UPDATE_FIELD"] = "ERROR_IN_CRL_NEXT_UPDATE_FIELD";
2474
- /**
2475
- * <p>The certificate signature could not be decrypted. This means that the actual
2476
- * signature value could not be determined rather than it not matching the expected
2477
- * value, this is only meaningful for RSA keys.</p>
2478
- * <p><a id="UNABLE_TO_DECRYPT_CRL_SIGNATURE"></a></p>
2479
- */
2480
- OpenSSLError["UNABLE_TO_DECRYPT_CERT_SIGNATURE"] = "UNABLE_TO_DECRYPT_CERT_SIGNATURE";
2481
- /**
2482
- * <p>The certificate revocation list (CRL) signature could not be decrypted: this
2483
- * means that the actual signature value could not be determined rather than it not
2484
- * matching the expected value.</p>
2485
- * <p><a id="UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY"></a></p>
2486
- */
2487
- OpenSSLError["UNABLE_TO_DECRYPT_CRL_SIGNATURE"] = "UNABLE_TO_DECRYPT_CRL_SIGNATURE";
2488
- /**
2489
- * <p>The public key in the certificate SubjectPublicKeyInfo could not be read.</p>
2490
- * <p><a id="Other OpenSSL Errors"></a></p>
2491
- */
2492
- OpenSSLError["UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY"] = "UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY";
2493
- /**
2494
- * <p>An error occurred trying to allocate memory. This should never happen.</p>
2495
- */
2496
- OpenSSLError["OUT_OF_MEM"] = "OUT_OF_MEM";
2497
- })(OpenSSLError || (exports.OpenSSLError = OpenSSLError = {}));
2498
- //# sourceMappingURL=nodejs-error-code.generated.cjs.map