From 4ed2187377bb915c0eac7f93f20afa3d16f79a5d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 9 Apr 2015 12:49:13 +0200 Subject: Use cached result if there is a network error --- src/libexpr/download.hh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libexpr/download.hh') diff --git a/src/libexpr/download.hh b/src/libexpr/download.hh index aa4fd5083d4e..65396e5de329 100644 --- a/src/libexpr/download.hh +++ b/src/libexpr/download.hh @@ -13,4 +13,6 @@ struct DownloadResult DownloadResult downloadFile(string url, string expectedETag = ""); +MakeError(DownloadError, Error) + } -- cgit 1.4.1