Hi! I'd like to add a network-error-code
method to the wasi-sockets interface to downcast a stream error to a network-specific error. Similar to the existing filesystem-error-code
and http-error-code
functions. The fact that it wasn't already present in v0.2.0 was an oversight.
To me this seems like a no-brainer, but couldn't hurt to have a second pair of eyes look at it:
https://github.com/WebAssembly/wasi-sockets/pull/105
Last updated: Nov 22 2024 at 17:03 UTC