getErrorDescription static method

Future<String?> getErrorDescription(
  1. int error
)

Retrieves the description of a warning or error code.

Since v3.3.1

Parameter error The warning or error code that the Warning or Error callback returns.

Returns

WarningCode or ErrorCode.

Implementation

static Future<String?> getErrorDescription(int error) {
  return RtcEngine.methodChannel.invokeMethod('getErrorDescription', {
    'error': error,
  });
}