const factory RpcError({ required int code, required String message, required Map<String, dynamic> data, }) = _RpcError;