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

Enhancement/ns dial error #14

Merged
merged 2 commits into from
Apr 21, 2022
Merged

Enhancement/ns dial error #14

merged 2 commits into from
Apr 21, 2022

Conversation

lthibault
Copy link
Collaborator

As of 18a34b9, cluster namespaces are implemented as protocol.ID prefixes. As a result, attempting to dial a cluster with a misconfigured namespace will produce a "protocol not supported" error, which is misleading.

This PR intercepts such cases in vat.Network and returns a more helpful ErrInvalidNS.

@lthibault lthibault added the enhancement New feature or request label Apr 21, 2022
@lthibault lthibault added this to the 0.1.0 Public Beta Release milestone Apr 21, 2022
@lthibault lthibault self-assigned this Apr 21, 2022
@lthibault
Copy link
Collaborator Author

Merging for deployment. Feel free to flag issues nonetheless and we can fix them in a separate PR.

@lthibault lthibault merged commit fe075d4 into master Apr 21, 2022
@lthibault lthibault deleted the enhancement/ns-dial-error branch March 7, 2023 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant