actix / actix/actix-web

Ability to get ownership of error of response

オープン
#3,758 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
24.8k
フォーク
1.9k
平均マージ
23時間 10分
マージ済み PR(30日)
26

説明

The [`HttpResponse`](https://docs.rs/actix-web/latest/actix_web/struct.HttpResponse.html#) struct allows to get a reference to the optional error with its [`error()`](https://docs.rs/actix-web/latest/actix_web/struct.HttpResponse.html#method.error) method, but we can't retrieve its ownership, which could be useful when mapping error reponses in middlewares.

It would be useful to have an additional method to get the ownership of the error.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。