youtrack_cli.exceptions
Custom exceptions and error handling for YouTrack CLI.
Exceptions
|
Authentication related errors. |
|
Connection related errors. |
|
Resource not found errors. |
|
Permission denied errors. |
|
Rate limit exceeded errors. |
|
Input validation errors. |
|
Base exception for YouTrack CLI errors. |
|
Network related errors that may be retryable. |
|
Server-side errors that may be retryable. |
- exception youtrack_cli.exceptions.YouTrackError(message: str, suggestion: str | None = None)[source]
Base exception for YouTrack CLI errors.
- exception youtrack_cli.exceptions.AuthenticationError(message: str = 'Authentication failed')[source]
Authentication related errors.
- exception youtrack_cli.exceptions.ConnectionError(message: str = 'Failed to connect to YouTrack')[source]
Connection related errors.
- exception youtrack_cli.exceptions.ValidationError(message: str, field: str | None = None)[source]
Input validation errors.
- exception youtrack_cli.exceptions.NotFoundError(resource_type: str, identifier: str)[source]
Resource not found errors.
- exception youtrack_cli.exceptions.PermissionError(action: str, resource: str | None = None)[source]
Permission denied errors.
- exception youtrack_cli.exceptions.RateLimitError(retry_after: int | None = None)[source]
Rate limit exceeded errors.