Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add missing UnknownNetworkError #33

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

elewis787
Copy link
Contributor

The net package recently added support for a custom transport to be added, largely to support the changes in tinygo for wasip2.

This PR adds the missing error type UnknownNetworkError that was introduced in #25

After adding this and updating the submodule reference in tinygo for the net package - custom HTTP transports can be successfully called when targeting wasip2.

Referenced in #31

@elewis787
Copy link
Contributor Author

elewis787 commented Jul 16, 2024

Also found the Unknown error in https://github.com/tinygo-org/net/blob/94998db67997d794f3fdc7b1ef5ad600c8f83f6b/net.go

This is in the open PR - #24.

Regardless - getting one of these through would be ideal so tinygo can update the net submodule.

@deadprogram
Copy link
Member

Looks OK to me, thanks for the addition @elewis787 now merging.

@deadprogram deadprogram merged commit 7f3a3c9 into tinygo-org:main Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants