The constructor for the TelnyxSocketError.
TelnyxSocketError({required this.errorCode, required this.errorMessage});