AgoraRtcException

Error codes and error messages.

class AgoraRtcException implements Exception {
  AgoraRtcException({required this.code, this.message});
  final int code;
  final String? message;
  @override
  String toString() => 'AgoraRtcException($code, $message)';
}

Parameters

code
The error code. See ErrorCodeType.
message
The error message.