# AgoraRtcException (/zh-CN/api-reference/rtc/flutter/class-agorartcexception)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```dart
class AgoraRtcException implements Exception {
AgoraRtcException({required this.code, this.message});
final int code;
final String? message;
@override
String toString() => 'AgoraRtcException($code, $message)';
}
```
## 属性 [#属性]
错误码,详见 [ErrorCodeType](/zh-CN/api-reference/rtc/flutter/enum-errorcodetype)。
错误描述。