TelnyxSocketError class

Represents an error that occurred during WebSocket communication with Telnyx.

Annotations
  • @Deprecated('Use TelnyxError and createTelnyxError() from model/errors/ instead. ' 'Will be removed in v3.0.0')

Constructors

TelnyxSocketError({required int errorCode, required String errorMessage})
The constructor for the TelnyxSocketError.
TelnyxSocketError.fromJson(Map<String, dynamic> json)
The constructor for the TelnyxSocketError from a JSON object.

Properties

errorCode ↔ int
The error code for the socket error.
getter/setter pair
errorMessage ↔ String
The error message for the socket error.
getter/setter pair
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