diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-09T10·49+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-04-09T10·49+0200 |
commit | 4ed2187377bb915c0eac7f93f20afa3d16f79a5d (patch) | |
tree | 5742d0b717f424c7ccd4402def7a5cce8a721509 /src/libexpr/download.hh | |
parent | 1fc905ad4c6320d7625d7f9bec06e70531bb0d5f (diff) |
Use cached result if there is a network error
Diffstat (limited to 'src/libexpr/download.hh')
-rw-r--r-- | src/libexpr/download.hh | 2 |
1 files changed, 2 insertions, 0 deletions
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) + } |