Constructors

Link copied to clipboard
constructor()

Types

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

An exception was thrown.

Link copied to clipboard

This helper is not registered to a VoiceClient.

Link copied to clipboard
data class HttpError(val error: HttpError) : RTVIError

Failed to fetch the authentication bundle from the RTVI backend.

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

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) : RTVIError

An unknown error occurred.

Link copied to clipboard

The previous connection is still active.

Link copied to clipboard
data object Timeout : RTVIError

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