MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / enableValidationErrors

Function enableValidationErrors

examples/extern/gpu_err.bundle.js:13–18  ·  view source on GitHub ↗
(device, throwError = false)

Source from the content-addressed store, hash-verified

11 };
12}
13function enableValidationErrors(device, throwError = false) {
14 const _InnerDevice = Object.getOwnPropertySymbols(device).find((e)=>e.description === "[[device]]"
15 );
16 const innerDevice = device[_InnerDevice];
17 patchPushError(innerDevice, throwError);
18}
19export { enableValidationErrors as enableValidationErrors };

Callers 1

runMethod · 0.90

Calls 1

patchPushErrorFunction · 0.85

Tested by

no test coverage detected