handleMessageError static method

Implementation

static Future<V2TimValueCallback<V2TimMessage>?> handleMessageError(
    Future<V2TimValueCallback<V2TimMessage>?> fun,
    BuildContext context) async {
  final res = await fun;
  return handleMessageErrorCode(res, context);
}