mirror of
https://github.com/andrewthetechie/py-healthchecks.io.git
synced 2025-12-08 18:48:24 +01:00
ping api and tests
This commit is contained in:
@@ -23,3 +23,15 @@ class BadAPIRequestError(HCAPIError):
|
||||
"""Thrown when an api request returns a 400."""
|
||||
|
||||
...
|
||||
|
||||
|
||||
class HCAPIRateLimitError(HCAPIError):
|
||||
"""Thrown when the api returns a rate limit response."""
|
||||
|
||||
...
|
||||
|
||||
|
||||
class NonUniqueSlugError(HCAPIError):
|
||||
"""Thrown when the api returns a 409 when pinging."""
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user