SdkErrorCode class
Error code constants for the Telnyx WebRTC SDK.
Each code is a unique integer that identifies a specific error condition.
- Annotations
-
- @Deprecated('Use TelnyxErrorCodes from model/errors/telnyx_error_codes.dart instead')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- authenticationRequired → const int
- Authentication is required but was not provided.
- byeSendFailed → const int
- The SDK failed to send the BYE message to hang up the call.
- gatewayFailed → const int
- The Telnyx gateway returned a failure.
- holdFailed → const int
- The SDK failed to place the call on hold.
- iceRestartFailed → const int
- An ICE restart attempt failed.
- invalidCallParameters → const int
- One or more supplied call parameters were invalid.
- invalidCredentials → const int
- The provided SIP credentials are invalid.
- loginFailed → const int
- The login attempt to the Telnyx server failed.
- mediaDeviceNotFound → const int
- No audio input device could be found.
- mediaGetUserMediaFailed → const int
- The 'getUserMedia()' call failed to acquire the audio stream.
- mediaMicrophonePermissionDenied → const int
- The user denied the microphone permission required for the call.
- networkOffline → const int
- The device has no network connectivity.
- peerClosedDuringInit → const int
- The peer connection was closed before the call was fully established.
- reconnectionExhausted → const int
- All reconnection attempts to the server were exhausted.
- sdpCreateAnswerFailed → const int
- The SDK failed to create an SDP answer for the call.
- sdpCreateOfferFailed → const int
- The SDK failed to create an SDP offer for the call.
- sdpSendFailed → const int
- The SDK failed to send the SDP offer/answer to the remote party.
- sdpSetLocalDescriptionFailed → const int
- The SDK failed to apply the local SDP description to the peer connection.
- sdpSetRemoteDescriptionFailed → const int
- The SDK failed to apply the remote SDP description to the peer connection.
- sessionNotReattached → const int
- A session reattachment attempt failed.
- subscribeFailed → const int
- The SDK failed to subscribe to the SIP events.
- unexpectedError → const int
- An unexpected, uncategorised error occurred.
- websocketConnectionFailed → const int
- The WebSocket connection to the Telnyx server could not be established.
- websocketError → const int
- A WebSocket-level error occurred.