Collect puller errors, send FolderErrors event

This commit is contained in:
Jakob Borg
2015-06-26 13:31:30 +02:00
parent c8ac9721d7
commit 2d9fcf6828
3 changed files with 110 additions and 13 deletions

View File

@@ -35,6 +35,7 @@ const (
DownloadProgress
FolderSummary
FolderCompletion
FolderErrors
AllEvents = (1 << iota) - 1
)
@@ -75,6 +76,8 @@ func (t EventType) String() string {
return "FolderSummary"
case FolderCompletion:
return "FolderCompletion"
case FolderErrors:
return "FolderErrors"
default:
return "Unknown"
}