Skip to content

Commit df8cb40

Browse files
tniessenevanlucas
authored andcommitted
errors: remove ERR_OUTOFMEMORY
Backport-PR-URL: #18099 PR-URL: #17877 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent 2eb1aa8 commit df8cb40

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
@@ -1284,11 +1284,6 @@ A Node.js API was called in an unsupported manner.
12841284

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

1287-
<a id="ERR_OUTOFMEMORY"></a>
1288-
### ERR_OUTOFMEMORY
1289-
1290-
An operation caused an out-of-memory condition.
1291-
12921287
<a id="ERR_OUT_OF_RANGE"></a>
12931288
### ERR_OUT_OF_RANGE
12941289

lib/internal/errors.js

-1
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,6 @@ E('ERR_NAPI_CONS_PROTOTYPE_OBJECT', 'Constructor.prototype must be an object');
319319
E('ERR_NO_CRYPTO', 'Node.js is not compiled with OpenSSL crypto support');
320320
E('ERR_NO_ICU', '%s is not supported on Node.js compiled without ICU');
321321
E('ERR_NO_LONGER_SUPPORTED', '%s is no longer supported');
322-
E('ERR_OUTOFMEMORY', 'Out of memory');
323322
E('ERR_OUT_OF_RANGE', 'The "%s" argument is out of range');
324323
E('ERR_PARSE_HISTORY_DATA', 'Could not parse history data in %s');
325324
E('ERR_REQUIRE_ESM', 'Must use import to load ES Module: %s');

0 commit comments

Comments
 (0)