We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10162d2 + 7f13b74 commit 49ddf3bCopy full SHA for 49ddf3b
content/docs/errors.md
@@ -16,7 +16,7 @@ If a handler returns an `Error` (referring to the [general Rust trait
16
17
```rust
18
pub trait ResponseError {
19
- fn error_response(&self) -> HttpResponse;
+ fn error_response(&self) -> Response<Body>;
20
fn status_code(&self) -> StatusCode;
21
}
22
```
0 commit comments