You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a bit of early implementation feedback, i found that implementing the host side of things for wasi:messaging/messaging-types/error imposed a bit of a hurdle/challenge.
How would everyone feel to replace the custom error resource defined in this package with wasi:io/error/error.
Alternatively, to make host-side implementations easier to wrangle, i'd suggest isolating out the error type into its own interface (similar to wasi:ios error) which would minimize the host code required.
Wdyt?
The text was updated successfully, but these errors were encountered:
I would definitely prefer its own interface if possible in the options you presented, but I am also rather partial to errors being represented as enums rather than opaque resources. Was thinking about changing that as part of an upcoming PR to integrate some feedback from people
As a bit of early implementation feedback, i found that implementing the host side of things for
wasi:messaging/messaging-types/error
imposed a bit of a hurdle/challenge.How would everyone feel to replace the custom error resource defined in this package with wasi:io/error/error.
Alternatively, to make host-side implementations easier to wrangle, i'd suggest isolating out the error type into its own interface (similar to
wasi:io
s error) which would minimize the host code required.Wdyt?
The text was updated successfully, but these errors were encountered: