hi-client/lib/app/network/http_error.dart
2025-10-13 18:08:02 +08:00

11 lines
229 B
Dart
Executable File

/// 接口返回的 -999等错误
class HttpError implements Exception {
int code;
String msg;
HttpError({required this.msg, required this.code});
@override
String toString() => 'ChatError(code: $code, msg: $msg)';
}