MCPcopy Create free account
hub / github.com/microsoft/SandDance / onError

Function onError

docs/tests/v2/es6/js/sanddance.js:9743–9750  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

9741 debug = _opts.debug; // Error reporting function, enables exceptions to be disabled
9742
9743 function onError(message) {
9744 if (throwOnError) {
9745 throw new Error(message);
9746 } // log.log(0, message)();
9747
9748
9749 return null;
9750 }
9751
9752 var gl;
9753

Callers 5

createHeadlessContextFunction · 0.70
getCanvasFunction · 0.70
onContextCreationErrorFunction · 0.70
createBrowserContextFunction · 0.70
XHRFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected