FolderErrors

The FolderErrors event is emitted when a folder cannot be successfully synchronized. The event contains the ID of the affected folder and a list of errors for files or directories therein. This list of errors is obsolete once the folder changes state to syncing - if errors remain after the next synchronization attempt, a new FolderErrors event is emitted.

  1. {
  2. "id": 132,
  3. "type": "FolderErrors",
  4. "time": "2015-06-26T13:39:24.697401384+02:00",
  5. "data": {
  6. "errors": [
  7. {
  8. "error": "open /Users/jb/src/github.com/syncthing/syncthing/test/s2/h2j/.syncthing.aslkjd.tmp: permission denied",
  9. "path": "h2j/aslkjd"
  10. }
  11. ],
  12. "folder": "default"
  13. }
  14. }

New in version 0.11.12.

See also

The StateChanged event.