WebAssembly / wasi-sockets

WASI API proposal for managing sockets
243 stars 22 forks source link

Add `network-error-code` #105

Closed badeend closed 1 month ago

badeend commented 1 month ago

Add function to downcast a stream error to a network-related error. Similar to the existing filesystem-error-code and http-error-code functions.

Wasmtime implementation is ready at: https://github.com/badeend/wasmtime/commit/7411bf12794a62e4729696e256f465e89f0c952b