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

Add conversion from Status to ScStatus where the type is HostAuthError #803

Closed
wants to merge 2 commits into from

Conversation

brson
Copy link
Contributor

@brson brson commented May 8, 2023

What

Add missing case in TryFrom<Status> for ScStatus where the type is HostAuthError. Use an exhaustive match to prevent similar bugs in future.

Why

ScStatus values with the HostAuthError type cannot be created from their host equivalents.

Known limitations

No tests, but I have proptests covering this that I will submit to the SDK in the near future.

@brson
Copy link
Contributor Author

brson commented May 18, 2023

This is probably obsoleted by #803. Closing.

@brson brson closed this May 18, 2023
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.

None yet

2 participants