MCPcopy Index your code
hub / github.com/nodejs/node-addon-api / SyntaxError

Class SyntaxError

napi.h:2068–2075  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2066
2067#if NAPI_VERSION > 8
2068class SyntaxError : public Error {
2069 public:
2070 static SyntaxError New(napi_env env, const char* message);
2071 static SyntaxError New(napi_env env, const std::string& message);
2072
2073 SyntaxError();
2074 SyntaxError(napi_env env, napi_value value);
2075};
2076#endif // NAPI_VERSION > 8
2077
2078class CallbackInfo {

Callers 1

ThrowSyntaxErrorCtorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected