dosubot[bot] commented on issue #6586: URL: https://github.com/apache/opendal/issues/6586#issuecomment-3320851519
<!-- Answer --> You're right—there's currently no public way to set the inner ErrorStatus or mark an error as temporary, which is necessary for correct behavior from Error::is_temporary. The official HttpFetch impl for reqwest::Client uses the private Error::with_temporary, and there aren't any public alternatives or patterns in the codebase for this. If you want to proceed, proposing a PR to make Error::with_temporary public or to add a public API for marking errors as temporary would be a reasonable next step. Let me know if you'd like help drafting that! <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/06be81e8-6c64-4e39-8569-6a0ba4f5b30b?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/06be81e8-6c64-4e39-8569-6a0ba4f5b30b?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/06be81e8-6c64-4e39-8569-6a0ba4f5b30b?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/06be81e8-6c64-4e39-8569-6a0ba4f5b30b?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/06be81e8-6c64-4e39-8569-6a0ba4f5b30b?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/06be81e8-6c64-4e39-8569-6a0ba4f5b30b?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/06be81e8-6c64-4e39-8569-6a0ba4f5b30b?feedback_type=other)</sup> [](https://app.dosu.dev/997a2c5a-0c54-497b-989d-44651635dd36/ask?utm_source=githu b) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/opendal/issues/6586) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
