microsoft / vscode-wasm

A WASI implementation that uses VS Code's extension host as the implementing API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use `Error.cause` to contain the error reason

connor4312 opened this issue · comments

Testing microsoft/vscode#226605

Error.cause is a standard field used to indicate an underlying reason for an error, and is picked up automatically be some logging libraries, so I suggest using that over or in addition to value