Coverage for repo_ctx/providers/exceptions.py: 100%

1"""Provider-specific exceptions."""

2

3

4 class ProviderError(Exception):

5 """Base exception for all provider errors."""

6 pass

7

8

9 class ProviderNotFoundError(ProviderError):

10 """Raised when a project/repository is not found."""

11 pass

12

13

14 class ProviderAuthError(ProviderError):

15 """Raised when authentication fails."""

16 pass

17

18

19 class ProviderFileNotFoundError(ProviderError):

20 """Raised when a file is not found in the repository."""

21 pass

22

23

24 class ProviderRateLimitError(ProviderError):

25 """Raised when API rate limit is exceeded."""

26 pass

27

28

29 class ProviderConfigError(ProviderError):

30 """Raised when provider configuration is invalid."""

31 pass