TxError
public enum TxError : Error
extension TxError: LocalizedError
TxError
is the error type returned by Telnyx WebRTC SDK. It encompasses a few different types of errors, each with
their own associated reasons.
-
The underlying reason of client setup configuration errors
See moreDeclaration
Swift
public enum ClientConfigurationFailureReason
-
The underlying reason of the call errors
See moreDeclaration
Swift
public enum CallFailureReason
-
The underlying reason of the server errors
See moreDeclaration
Swift
public enum ServerErrorReason
-
Socket connection failures.
Declaration
Swift
case socketConnectionFailed(reason: SocketFailureReason)
-
There’s an invalid parameter when setting up the SDK
Declaration
Swift
case clientConfigurationFailed(reason: ClientConfigurationFailureReason)
-
There’s an invalid parameter when starting a call
Declaration
Swift
case callFailed(reason: CallFailureReason)
-
When the signaling server sends an error
Declaration
Swift
case serverError(reason: ServerErrorReason)
-
Declaration
Swift
public var errorDescription: String? { get }