[DF-4740] Added more error types - connection error, file write error