{"record":{"id":"24fe8d2d104279d7","repo":"GopeedLab/gopeed","slug":"page-not-found","errorCode":"PAGE_NOT_FOUND","errorMessage":"page not found","messagePattern":"page not found","errorType":"error_code","errorClass":"WebViewRpcException","httpStatus":null,"severity":"error","filePath":"ui/flutter/lib/app/rpc/webview_rpc_service.dart","lineNumber":211,"sourceCode":"      userAgent: params['userAgent'] as String? ?? '',\n    );\n    _pagesById[pageId] = session;\n    _syncPages();\n    try {\n      await session.init();\n    } catch (e) {\n      _pagesById.remove(pageId);\n      _syncPages();\n      rethrow;\n    }\n    return {'pageId': pageId};\n  }\n\n  WebViewRpcPageSession _page(Map<String, dynamic> params) {\n    final page = _pagesById[_pageId(params)];\n    if (page == null) {\n      throw WebViewRpcException(\n        code: 'PAGE_NOT_FOUND',\n        message: 'page not found',\n      );\n    }\n    return page;\n  }\n\n  String _pageId(Map<String, dynamic> params) => _string(params, 'pageId');\n\n  String _string(Map<String, dynamic> params, String key) {\n    final value = params[key];\n    if (value is String && value.isNotEmpty) {\n      return value;\n    }\n    throw WebViewRpcException(\n      code: 'INVALID_REQUEST',\n      message: 'missing or invalid \"$key\"',\n    );\n  }","sourceCodeStart":193,"sourceCodeEnd":229,"githubUrl":"https://github.com/GopeedLab/gopeed/blob/7b7327ffb30816273a74b142cccc0bc10c5a4c67/ui/flutter/lib/app/rpc/webview_rpc_service.dart#L193-L229","documentation":"Error \"page not found\" thrown in GopeedLab/gopeed.","triggerScenarios":"Thrown at ui/flutter/lib/app/rpc/webview_rpc_service.dart:211 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"7b7327ffb30816273a74b142cccc0bc10c5a4c67","analyzedAt":"2026-08-16T02:51:03.250Z","schemaVersion":2},"datasetVersion":"2026-08-16T03:17:38.424Z"}