We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da53685 commit 4c6f1beCopy full SHA for 4c6f1be
design/mvp/Explainer.md
@@ -654,8 +654,8 @@ the full range of flexibility to:
654
A consequence of this, however, is that components *must not* depend on the
655
contents of `error` values for behavioral correctness. In particular, case
656
analysis of the contents of an `error` should not determine *error receovery*;
657
-for this, proper `result` or `variant` types must be used in the WIT function
658
-signature.
+explicit `result` or `variant` types must be used in the function return
+type instead (e.g., `(func (result (tuple (stream u8) (future $my-error)))`).
659
660
##### Container types
661
0 commit comments