TelnyxErrorCodes class

Static constants for all SDK error codes.

Code ranges:

  • 400xx — SDP negotiation errors
  • 420xx — Media / device errors
  • 440xx — Call-control errors
  • 450xx — WebSocket / transport errors
  • 460xx — Authentication errors
  • 470xx — ICE restart errors
  • 480xx — Network errors
  • 485xx — Session errors
  • 490xx — General / catch-all errors

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.