{"record":{"id":"c6a478b055dccebc","repo":"AlistGo/alist","slug":"e-errorinfo","errorCode":null,"errorMessage":"e.ErrorInfo","messagePattern":"e\\.ErrorInfo","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/quark_uc_tv/util.go","lineNumber":82,"sourceCode":"\treq.SetError(&e)\n\tres, err := req.Execute(method, u)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\t// 判断 是否需要 刷新 access_token\n\tif e.Status == -1 && e.Errno == 10001 {\n\t\t// token 过期\n\t\terr = d.getRefreshTokenByTV(ctx, d.Addition.RefreshToken, true)\n\t\tif err != nil {\n\t\t\treturn nil, err\n\t\t}\n\t\tctx1, cancelFunc := context.WithTimeout(ctx, 10*time.Second)\n\t\tdefer cancelFunc()\n\t\treturn d.request(ctx1, pathname, method, callback, resp)\n\t}\n\n\tif e.Status >= 400 || e.Errno != 0 {\n\t\treturn nil, errors.New(e.ErrorInfo)\n\t}\n\treturn res.Body(), nil\n}\n\nfunc (d *QuarkUCTV) getLoginCode(ctx context.Context) (string, error) {\n\t// 获取登录二维码\n\tpathname := \"/oauth/authorize\"\n\tvar resp struct {\n\t\tCommonRsp\n\t\tQrData     string `json:\"qr_data\"`\n\t\tQueryToken string `json:\"query_token\"`\n\t}\n\t_, err := d.request(ctx, pathname, \"GET\", func(req *resty.Request) {\n\t\treq.SetQueryParams(map[string]string{\n\t\t\t\"auth_type\": \"code\",\n\t\t\t\"client_id\": d.conf.clientID,\n\t\t\t\"scope\":     \"netdisk\",\n\t\t\t\"qrcode\":    \"1\",","sourceCodeStart":64,"sourceCodeEnd":100,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/quark_uc_tv/util.go#L64-L100","documentation":"Error \"e.ErrorInfo\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/quark_uc_tv/util.go:82 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Check the storage configuration and the provider's service status, fix the indicated cause, and retry the operation."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"843d9dc8149126976b2625911e45a4d3ffd6f2f5","analyzedAt":"2026-08-15T12:14:11.722Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}