error{SystemResources, OperationAborted, BrokenPipe, NotOpenForWriting, LockViolation, Unexpected}
(ErrorSet)

Errors

BrokenPipe
LockViolation

The process cannot access the file because another process has locked a portion of the file.

NotOpenForWriting
OperationAborted
SystemResources
Unexpected