1
0
mirror of https://github.com/actix/actix-website synced 2025-06-28 16:00:36 +02:00

Update errors.md

This commit is contained in:
vo9312
2020-06-26 11:36:31 -05:00
committed by GitHub
parent a0971bfa5c
commit 7f13b74db4

View File

@ -16,7 +16,7 @@ If a handler returns an `Error` (referring to the [general Rust trait
```rust
pub trait ResponseError {
fn error_response(&self) -> HttpResponse;
fn error_response(&self) -> Response<Body>;
fn status_code(&self) -> StatusCode;
}
```