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

This commit is contained in:
2026-02-26 12:40:04 +00:00
parent cd768b8a6e
commit 78f8ceb1db

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."""