Skip to main content

fishaudio.exceptions

Custom exceptions for the Fish Audio SDK.

FishAudioError Objects

Base exception for all Fish Audio SDK errors.

APIError Objects

Raised when the API returns an error response.

AuthenticationError Objects

Raised when authentication fails (401).

PermissionError Objects

Raised when permission is denied (403).

NotFoundError Objects

Raised when a resource is not found (404).

RateLimitError Objects

Raised when rate limit is exceeded (429).

ServerError Objects

Raised when the server encounters an error (5xx).

WebSocketError Objects

Raised when WebSocket connection or streaming fails.

ValidationError Objects

Raised when request validation fails.

DependencyError Objects

Raised when a required dependency is missing.