Codewrinkles / Codewrinkles.HIBPClient

.NET consumer for the HaveIBeenPawned API
MIT License
1 stars 1 forks source link

Implement exception classes #5

Open danpdc opened 1 year ago

danpdc commented 1 year ago

The HIBP API returns some error responses in certain scenarios. We need to have appropriate exceptions for each of the possible error response. The possible error response codes are documented here: https://haveibeenpwned.com/API/v3#ResponseCodes