feat(client): Dio 拦截器统一上报 5xx 错误,新增 api_error 类型

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-05-25 21:09:50 +08:00
parent 2dbc89b902
commit 5f2248001d
2 changed files with 12 additions and 0 deletions
@@ -12,6 +12,7 @@ class ErrorType {
static const flutterError = 'flutter_error';
static const zoneError = 'zone_error';
static const caughtException = 'caught_exception';
static const apiError = 'api_error';
}
class ErrorReporter {