()
| 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 | #[tokio::main(flavor = "local")] |
| 36 | async fn main() -> io::Result<()> { |
nothing calls this directly
no outgoing calls
no test coverage detected