Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class ErrorResponse(val message: String) : VoiceError
Link copied to clipboard
data class ExceptionThrown(val exception: Exception) : VoiceError

An exception was thrown.

Link copied to clipboard

Failed to fetch the authentication bundle from the RTVI backend.

Link copied to clipboard

This helper is not registered to a VoiceClient.

Link copied to clipboard
data class InvalidState(val expected: TransportState, val actual: TransportState) : VoiceError

Operation cannot be performed in this state.

Link copied to clipboard

The operation was cancelled before it could complete.

Link copied to clipboard
data class OtherError(val message: String) : VoiceError

An unknown error occurred.

Link copied to clipboard

The previous connection is still active.

Link copied to clipboard
data object Timeout : VoiceError

The operation timed out before it could complete.

Link copied to clipboard

Operation cannot be performed because the transport is not initialized.

Properties

Link copied to clipboard
abstract val description: String

A human-readable description of the error.

Link copied to clipboard
open val exception: Exception? = null

If the error was caused by an exception, this value is set.

Functions

Link copied to clipboard
open override fun toString(): String