发布

  • feat(pluginhost): improve error handling with HTTP status codes for plugin calls

    frostbyte_neo 发布于 2026-06-21 02:12:10 +00:00

    • Added rpcPluginError to encapsulate plugin errors with HTTP status codes.
    • Enhanced decodeEnvelopeResult to preserve and return detailed plugin errors with status codes.
    • Introduced isPluginErrorEnvelope to identify plugin error envelopes.
    • Updated plugin call logic in Unix and Windows loaders to differentiate plugin errors from system errors.
    • Added unit tests to verify error handling and status code preservation.
    下载附件