aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/datatransfer.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/datatransfer.hh')
-rw-r--r--src/libstore/datatransfer.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libstore/datatransfer.hh b/src/libstore/datatransfer.hh
index e1c5196e0..f2ea53ae3 100644
--- a/src/libstore/datatransfer.hh
+++ b/src/libstore/datatransfer.hh
@@ -72,7 +72,7 @@ struct DataTransfer
virtual ~DataTransfer() { }
/* Enqueue a data transfer request, returning a future to the result of
- the download. The future may throw a DownloadError
+ the download. The future may throw a DataTransferError
exception. */
virtual void enqueueDataTransfer(const DataTransferRequest & request,
Callback<DataTransferResult> callback) = 0;
@@ -96,11 +96,11 @@ ref<DataTransfer> getDataTransfer();
/* Return a new DataTransfer object. */
ref<DataTransfer> makeDataTransfer();
-class DownloadError : public Error
+class DataTransferError : public Error
{
public:
DataTransfer::Error error;
- DownloadError(DataTransfer::Error error, const FormatOrString & fs)
+ DataTransferError(DataTransfer::Error error, const FormatOrString & fs)
: Error(fs), error(error)
{ }
};