src: create THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING · nodejs/node@d8937f1 · GitHub
Skip to content

Commit d8937f1

Browse files
marco-ippolitotargos
authored andcommitted
src: create THROW_ERR_OPTIONS_BEFORE_BOOTSTRAPPING
PR-URL: #57016 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 9fd217d commit d8937f1

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
@@ -102,6 +102,7 @@ void OOMErrorHandler(const char* location, const v8::OOMDetails& details);
102102
V(ERR_MODULE_NOT_FOUND, Error) \
103103
V(ERR_NON_CONTEXT_AWARE_DISABLED, Error) \
104104
V(ERR_OPERATION_FAILED, TypeError) \
105+
V(ERR_OPTIONS_BEFORE_BOOTSTRAPPING, Error) \
105106
V(ERR_OUT_OF_RANGE, RangeError) \
106107
V(ERR_REQUIRE_ASYNC_MODULE, Error) \
107108
V(ERR_SCRIPT_EXECUTION_INTERRUPTED, Error) \

src/node_options.cc

Lines changed: 9 additions & 7 deletions

0 commit comments

Comments
 (0)