Add exception handling for HTTP requests in Neon_API_V2 class and update database-related methods in DatabaseResource class

This commit is contained in:
2024-01-14 08:11:51 -05:00
parent a8b9e03318
commit a9c08ecc6d
4 changed files with 89 additions and 48 deletions
+7
View File
@@ -0,0 +1,7 @@
from requests.exceptions import HTTPError
class NeonClientException(HTTPError):
"""Base exception class for all exceptions raised by the Neon Client."""
pass