feat(infrahub): add Infrahub client for fabric intent (#42) #19

Closed
Damien wants to merge 6 commits from feature/42-infrahub-client into main
Showing only changes of commit 78f8ceb1db - Show all commits

View File

@@ -0,0 +1,17 @@
"""Exception hierarchy for the Infrahub fabric intent client."""
class InfrahubClientError(Exception):
"""Base exception for all Infrahub client errors."""
class InfrahubConnectionError(InfrahubClientError):
"""Raised when the client cannot connect to the Infrahub server."""
class InfrahubQueryError(InfrahubClientError):
"""Raised when a query to the Infrahub server fails."""
class InfrahubNotFoundError(InfrahubClientError):
"""Raised when a requested resource is not found in Infrahub."""