Per the runtimes' error contract (docs/error-handling.md), a thrown/rejection
value can be: an Error (possibly carrying nativeException), a directly-thrown
wrapped native exception (not an Error, no .stack), or any other value.
Resolve the native exception for the first two shapes.
Per the runtimes' error contract (docs/error-handling.md), a thrown/rejection value can be: an Error (possibly carrying
nativeException), a directly-thrown wrapped native exception (not an Error, no.stack), or any other value. Resolve the native exception for the first two shapes.