dosubot[bot] commented on issue #6586: URL: https://github.com/apache/opendal/issues/6586#issuecomment-3320807229
<!-- Greeting --> Hi @bonsairobo! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the opendal team. <!-- Answer --> The reason you can't call `Error::with_temporary` is that it's private, which restricts its use to within its defining module. However, you don't necessarily need it to implement `HttpFetch` for your newtype. The codebase uses public error construction methods like `Error::new` with chaining methods such as `with_operation`, `with_context`, and `set_source` to build errors for HTTP operations. This pattern is public and should work for your use case as well—see [this example](https://github.com/apache/opendal/issues/6123) from the repo. If you want to proceed with a PR, you could either propose making `with_temporary` public (if you have a strong use case), or adapt your implementation to use the public error constructors and chaining methods, which is the current recommended approach. <!-- 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/a113cf37-7155-47c8-bce9-8ab2457b62b7?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/a113cf37-7155-47c8-bce9-8ab2457b62b7?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/a113cf37-7155-47c8-bce9-8ab2457b62b7?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/a113cf37-7155-47c8-bce9-8ab2457b62b7?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/a113cf37-7155-47c8-bce9-8ab2457b62b7?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/a113cf37-7155-47c8-bce9-8ab2457b62b7?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/a113cf37-7155-47c8-bce9-8ab2457b62b7?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: commits-unsubscr...@opendal.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org