mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 06:49:15 +08:00
22 lines
316 B
Go
22 lines
316 B
Go
//go:build !plan9
|
|
|
|
package fserrors
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func init() {
|
|
retriableErrors = append(retriableErrors,
|
|
syscall.EPIPE,
|
|
syscall.ETIMEDOUT,
|
|
syscall.ECONNREFUSED,
|
|
syscall.EHOSTDOWN,
|
|
syscall.EHOSTUNREACH,
|
|
syscall.ECONNABORTED,
|
|
syscall.EAGAIN,
|
|
syscall.EWOULDBLOCK,
|
|
syscall.ECONNRESET,
|
|
)
|
|
}
|