MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / ThrowError

Function ThrowError

include/nodejs/node_osrm_support.hpp:122–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122inline void ThrowError(const Napi::Env &env, const char *message)
123{
124 Napi::Error::New(env, message).ThrowAsJavaScriptException();
125}
126
127inline void ThrowTypeError(const Napi::Env &env, const char *message)
128{

Callers 11

argumentsToEngineConfigFunction · 0.85
parseCoordinateArrayFunction · 0.85
argumentsToParameterFunction · 0.85
parseCommonParametersFunction · 0.85
argumentsToTripParameterFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected