handleError(req:error:)

func handleError(req: Request, error: Error) async throws -> Response