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

Verify and overhaul the error handling of the different APIs #24

Closed
wneessen opened this issue Dec 22, 2022 · 0 comments · Fixed by #25
Closed

Verify and overhaul the error handling of the different APIs #24

wneessen opened this issue Dec 22, 2022 · 0 comments · Fixed by #25
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@wneessen
Copy link
Owner

As noted in #22 the error handling in all APIs are not perfect. This issue is meant to give all of the APIs an overhaul in terms of error handling similar to the fix that was already applied for #22.

@wneessen wneessen self-assigned this Dec 22, 2022
@wneessen wneessen added bug Something isn't working enhancement New feature or request labels Dec 22, 2022
wneessen added a commit that referenced this issue Dec 22, 2022
- Overhauled the breaches API
- Added more tests
wneessen added a commit that referenced this issue Dec 22, 2022
- Generalized errors
- Updated version number and User-Agent string
- Made default timeout a const
wneessen added a commit that referenced this issue Dec 22, 2022
- More error generalization
- Fixed PwnedPasswords API errors
- Added SHA1 hash validation with corresponding error
- More tests for error handling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant