generic response checking method and get_check

This commit is contained in:
Andrew Herrington
2021-12-10 19:48:28 -06:00
parent 95ab6d45f2
commit 557f4e4477
4 changed files with 68 additions and 12 deletions

View File

@@ -11,3 +11,8 @@ class HCAPIAuthError(HCAPIError):
"""Thrown when we fail to auth to the Healthchecks api."""
...
class CheckNotFoundError(HCAPIError):
"""Thrown when getting a check returns a 404."""
...