diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7154254..0540b77 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,7 +17,7 @@ jobs: chmod +x ./wit-deps ./wit-deps lock --check ./wit-deps -m wit-0.3.0-draft/deps.toml -l wit-0.3.0-draft/deps.lock -d wit-0.3.0-draft/deps lock --check - - uses: WebAssembly/wit-abi-up-to-date@v24 + - uses: WebAssembly/wit-abi-up-to-date@v25 with: worlds: 'imports proxy' all-features: 'true' diff --git a/imports.md b/imports.md index 7926bb3..b099e2e 100644 --- a/imports.md +++ b/imports.md @@ -812,8 +812,8 @@ provide the HTTP Response corresponding to the sent Request.

Attempts to extract a http-related error from the wasi:io error provided.

Stream operations which return -wasi:io/stream/stream-error::last-operation-failed have a payload of -type wasi:io/error/error with more information about the operation +wasi:io/stream.stream-error.last-operation-failed have a payload of +type wasi:io/error.error with more information about the operation that failed. This payload can be passed through to this function to see if there's http-related information about the error to return.

Note that this function is fallible because not all io-errors are diff --git a/proxy.md b/proxy.md index ad6baf8..aed35c1 100644 --- a/proxy.md +++ b/proxy.md @@ -819,8 +819,8 @@ provide the HTTP Response corresponding to the sent Request.

Attempts to extract a http-related error from the wasi:io error provided.

Stream operations which return -wasi:io/stream/stream-error::last-operation-failed have a payload of -type wasi:io/error/error with more information about the operation +wasi:io/stream.stream-error.last-operation-failed have a payload of +type wasi:io/error.error with more information about the operation that failed. This payload can be passed through to this function to see if there's http-related information about the error to return.

Note that this function is fallible because not all io-errors are diff --git a/wit/types.wit b/wit/types.wit index 7af8b96..f91ee1f 100644 --- a/wit/types.wit +++ b/wit/types.wit @@ -110,8 +110,8 @@ interface types { /// provided. /// /// Stream operations which return - /// `wasi:io/stream/stream-error::last-operation-failed` have a payload of - /// type `wasi:io/error/error` with more information about the operation + /// `wasi:io/stream.stream-error.last-operation-failed` have a payload of + /// type `wasi:io/error.error` with more information about the operation /// that failed. This payload can be passed through to this function to see /// if there's http-related information about the error to return. ///