Skip to content

Commit a82b1b7

Browse files
committed
errors: remove ERR_OUTOFMEMORY
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 4117e22 commit a82b1b7

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

doc/api/errors.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,11 +1332,6 @@ A Node.js API was called in an unsupported manner.
13321332

13331333
For example: `Buffer.write(string, encoding, offset[, length])`
13341334

1335-
<a id="ERR_OUTOFMEMORY"></a>
1336-
### ERR_OUTOFMEMORY
1337-
1338-
An operation caused an out-of-memory condition.
1339-
13401335
<a id="ERR_OUT_OF_RANGE"></a>
13411336
### ERR_OUT_OF_RANGE
13421337

lib/internal/errors.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ E('ERR_NAPI_CONS_PROTOTYPE_OBJECT', 'Constructor.prototype must be an object');
436436
E('ERR_NO_CRYPTO', 'Node.js is not compiled with OpenSSL crypto support');
437437
E('ERR_NO_ICU', '%s is not supported on Node.js compiled without ICU');
438438
E('ERR_NO_LONGER_SUPPORTED', '%s is no longer supported');
439-
E('ERR_OUTOFMEMORY', 'Out of memory');
440439
E('ERR_OUT_OF_RANGE', outOfRange);
441440
E('ERR_PARSE_HISTORY_DATA', 'Could not parse history data in %s');
442441
E('ERR_REQUIRE_ESM', 'Must use import to load ES Module: %s');

0 commit comments

Comments
 (0)