popErrorScope method

JSPromise<GPUError?> popErrorScope()

The first error caught since the matching pushErrorScope, or null.

Rejects rather than resolving if no scope is open, which is why the two belong in one function and not at two ends of a method.

Implementation

external JSPromise<GPUError?> popErrorScope();