MCPcopy Create free account
hub / github.com/breach/thrust / ExceptionHandler

Class ExceptionHandler

src/renderer/extensions/module_system.h:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 };
50
51 class ExceptionHandler {
52 public:
53 virtual ~ExceptionHandler() {}
54 virtual void HandleUncaughtException(const v8::TryCatch& try_catch) = 0;
55
56 protected:
57 // Formats |try_catch| as a nice string.
58 std::string CreateExceptionString(const v8::TryCatch& try_catch);
59 };
60
61 // Enables native bindings for the duration of its lifetime.
62 class NativesEnabledScope {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected