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 Login Panic and Add Clone Derives #12

Merged
merged 12 commits into from
Nov 30, 2023
Merged

Fix Login Panic and Add Clone Derives #12

merged 12 commits into from
Nov 30, 2023

Conversation

gierens
Copy link
Owner

@gierens gierens commented Nov 30, 2023

This adds further error handling to lib::authentication::login and changes lib::Api::new to return Result<Api, UserError>.

This also adds derives of Clone to all public structs and enums.

Fixes #11

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
@gierens gierens self-assigned this Nov 30, 2023
@gierens gierens added bug Something isn't working rust Pull requests that update Rust code cli fuse and removed cli fuse labels Nov 30, 2023
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
@github-actions github-actions bot added the tests label Nov 30, 2023
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
@gierens gierens merged commit 89762ba into main Nov 30, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli fuse lib rust Pull requests that update Rust code tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Login Panics for Wrong Credentials
1 participant