()
| 26 | } |
| 27 | |
| 28 | async fn index() -> Result<HttpResponse, Error> { |
| 29 | Err(Error { |
| 30 | msg: "an example error message".to_owned(), |
| 31 | status: 400, |
| 32 | }) |
| 33 | } |
| 34 | |
| 35 | #[actix_web::main] |
| 36 | async fn main() -> io::Result<()> { |
nothing calls this directly
no outgoing calls
no test coverage detected