Skip to content

Commit cbc8561

Browse files
tniessenMylesBorins
authored andcommitted
errors: remove ERR_OUTOFMEMORY
Backport-PR-URL: #19117 PR-URL: #17877 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 658dd40 commit cbc8561

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

doc/api/errors.md

-5
Original file line numberDiff line numberDiff line change
@@ -997,11 +997,6 @@ While using `N-API`, `Constructor.prototype` was not an object.
997997
An attempt was made to use features that require [ICU][], but Node.js was not
998998
compiled with ICU support.
999999

1000-
<a id="ERR_OUTOFMEMORY"></a>
1001-
### ERR_OUTOFMEMORY
1002-
1003-
An operation caused an out-of-memory condition.
1004-
10051000
<a id="ERR_SOCKET_ALREADY_BOUND"></a>
10061001
### ERR_SOCKET_ALREADY_BOUND
10071002

lib/internal/errors.js

-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,6 @@ E('ERR_NAPI_CONS_FUNCTION', 'Constructor must be a function');
264264
E('ERR_NAPI_CONS_PROTOTYPE_OBJECT', 'Constructor.prototype must be an object');
265265
E('ERR_NO_CRYPTO', 'Node.js is not compiled with OpenSSL crypto support');
266266
E('ERR_NO_ICU', '%s is not supported on Node.js compiled without ICU');
267-
E('ERR_OUTOFMEMORY', 'Out of memory');
268267
E('ERR_PARSE_HISTORY_DATA', 'Could not parse history data in %s');
269268
E('ERR_REQUIRE_ESM', 'Must use import to load ES Module: %s');
270269
E('ERR_SOCKET_ALREADY_BOUND', 'Socket is already bound');

0 commit comments

Comments
 (0)