src: create `THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING` · nodejs/node@30bb1cc · GitHub
Skip to content

Commit 30bb1cc

Browse files
marco-ippolitoaduh95
authored andcommitted
src: create THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING
PR-URL: #57016 Backport-PR-URL: #57958 Refs: #53787 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Tierney Cyren <hello@bnb.im> Reviewed-By: Michael Dawson <midawson@redhat.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
1 parent 0350c6f commit 30bb1cc

3 files changed

Lines changed: 20 additions & 7 deletions

File tree

doc/api/errors.md

Lines changed: 10 additions & 0 deletions

src/node_errors.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ void OOMErrorHandler(const char* location, const v8::OOMDetails& details);
105105
V(ERR_MISSING_PLATFORM_FOR_WORKER, Error) \
106106
V(ERR_MODULE_NOT_FOUND, Error) \
107107
V(ERR_NON_CONTEXT_AWARE_DISABLED, Error) \
108+
V(ERR_OPTIONS_BEFORE_BOOTSTRAPPING, Error) \
108109
V(ERR_OUT_OF_RANGE, RangeError) \
109110
V(ERR_REQUIRE_ASYNC_MODULE, Error) \
110111
V(ERR_SCRIPT_EXECUTION_INTERRUPTED, Error) \

src/node_options.cc

Lines changed: 9 additions & 7 deletions

0 commit comments

Comments
 (0)