MCPcopy Create free account
hub / github.com/Snapchat/Valdi / JavaScriptANR

Class JavaScriptANR

valdi/src/valdi/runtime/JavaScript/JavaScriptANRDetector.hpp:23–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21class DispatchQueue;
22class ILogger;
23class Metrics;
24
25class JavaScriptANR {
26public:
27 JavaScriptANR(std::string message,
28 std::vector<JavaScriptCapturedStacktrace> capturedStacktraces,
29 const StringBox& moduleName);
30 ~JavaScriptANR();
31
32 const std::string& getMessage() const;
33 const std::vector<JavaScriptCapturedStacktrace>& getCapturedStacktraces() const;
34 const StringBox& getModuleName() const;
35
36 bool hasRunningStacktrace() const;
37
38private:
39 std::string _message;
40 std::vector<JavaScriptCapturedStacktrace> _capturedStacktraces;
41 StringBox _moduleName;
42};
43

Callers 1

onANRMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected