ElevenLabsErrorKind

Stable, transport-independent category for an SDK failure.

Entries

Link copied to clipboard

The API rejected the request with an HTTP response.

Link copied to clipboard

Authentication credentials were rejected or missing.

Link copied to clipboard

Request fields failed server-side validation.

Link copied to clipboard

The account lacks the required quota or credits.

Link copied to clipboard

The caller is not allowed to use the requested resource or feature.

Link copied to clipboard

The requested resource does not exist.

Link copied to clipboard

The caller exceeded a server rate limit.

Link copied to clipboard

The server returned an internal failure.

Link copied to clipboard

The request could not reach or communicate with the server.

Link copied to clipboard

A request or realtime operation exceeded its timeout.

Link copied to clipboard

A response or realtime message could not be decoded.

Link copied to clipboard

A realtime WebSocket protocol or close failure.

Link copied to clipboard

An error that does not fit another category.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.