import 'package:wow_english/common/request/exception.dart'; extension ExceptionExtension on Exception { String get getShowMessage { if (this is ApiException) { return (this as ApiException).message ?? '未知错误'; } else { return '未知错误'; } } }