We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eb6f61 commit 6c6e678Copy full SHA for 6c6e678
src/node_errors.h
@@ -23,17 +23,6 @@ void AppendExceptionLine(Environment* env,
23
[[noreturn]] void FatalError(const char* location, const char* message);
24
void OnFatalError(const char* location, const char* message);
25
26
-// Like a `TryCatch` but exits the process if an exception was caught.
27
-class FatalTryCatch : public v8::TryCatch {
28
- public:
29
- explicit FatalTryCatch(Environment* env)
30
- : TryCatch(env->isolate()), env_(env) {}
31
- ~FatalTryCatch();
32
-
33
- private:
34
- Environment* env_;
35
-};
36
37
void PrintErrorString(const char* format, ...);
38
39
void ReportException(Environment* env, const v8::TryCatch& try_catch);
0 commit comments