mirrored_repositories/boorusphere/lib/presentation/utils
import 'package:dio/dio.dart';

extension StringExt on String {
  String withDioExceptionCode(DioException err) {
    final code = err.response?.statusCode ?? 0;
    return this + (code > 0 ? ' (HTTP $code)' : '');
  }
}
