GopeedLab/gopeed · error · WebViewRpcException

PAGE_NOT_FOUND

PAGE_NOT_FOUND

Error message

page not found

What it means

Error "page not found" thrown in GopeedLab/gopeed.

Source

Thrown at ui/flutter/lib/app/rpc/webview_rpc_service.dart:211

      userAgent: params['userAgent'] as String? ?? '',
    );
    _pagesById[pageId] = session;
    _syncPages();
    try {
      await session.init();
    } catch (e) {
      _pagesById.remove(pageId);
      _syncPages();
      rethrow;
    }
    return {'pageId': pageId};
  }

  WebViewRpcPageSession _page(Map<String, dynamic> params) {
    final page = _pagesById[_pageId(params)];
    if (page == null) {
      throw WebViewRpcException(
        code: 'PAGE_NOT_FOUND',
        message: 'page not found',
      );
    }
    return page;
  }

  String _pageId(Map<String, dynamic> params) => _string(params, 'pageId');

  String _string(Map<String, dynamic> params, String key) {
    final value = params[key];
    if (value is String && value.isNotEmpty) {
      return value;
    }
    throw WebViewRpcException(
      code: 'INVALID_REQUEST',
      message: 'missing or invalid "$key"',
    );
  }

View on GitHub (pinned to 7b7327ffb3)

When it happens

Trigger: Thrown at ui/flutter/lib/app/rpc/webview_rpc_service.dart:211 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of GopeedLab/gopeed@7b7327ffb3 (2026-08-16). Data as JSON: /api/errors/24fe8d2d104279d7. Report an issue: GitHub.