{"record":{"id":"0e8cff31e8b80d94","repo":"AlistGo/alist","slug":"error-msg","errorCode":null,"errorMessage":"{error.msg}","messagePattern":"\\{error\\.msg\\}","errorType":"http","errorClass":null,"httpStatus":null,"severity":"error","filePath":"drivers/lenovonas_share/util.go","lineNumber":33,"sourceCode":"\t\t\"referer\":     \"https://siot-share.lenovo.com.cn/\",\n\t\t\"user-agent\":  \"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) alist-client\",\n\t\t\"platform\":    \"web\",\n\t\t\"app-version\": \"3\",\n\t})\n\tif callback != nil {\n\t\tcallback(req)\n\t}\n\tif resp != nil {\n\t\treq.SetResult(resp)\n\t}\n\tres, err := req.Execute(method, url)\n\tif err != nil {\n\t\treturn nil, err\n\t}\n\tbody := res.Body()\n\tresult := utils.Json.Get(body, \"result\").ToBool()\n\tif !result {\n\t\treturn nil, errors.New(jsoniter.Get(body, \"error\", \"msg\").ToString())\n\t}\n\treturn body, nil\n}\n","sourceCodeStart":15,"sourceCodeEnd":37,"githubUrl":"https://github.com/AlistGo/alist/blob/843d9dc8149126976b2625911e45a4d3ffd6f2f5/drivers/lenovonas_share/util.go#L15-L37","documentation":"Error \"{error.msg}\" thrown in AlistGo/alist.","triggerScenarios":"Thrown at drivers/lenovonas_share/util.go:33 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-15T17:31:12.345Z"}