Handle errors better with new changes, changes across cp, mirror, mb
This commit is contained in:
@@ -161,6 +161,12 @@ func (e errSourceIsNotDir) Error() string {
|
||||
return "Source ‘" + e.URL + "’ is not a folder."
|
||||
}
|
||||
|
||||
type errSourceIsNotFile errTargetIsNotDir
|
||||
|
||||
func (e errSourceIsNotFile) Error() string {
|
||||
return "Source ‘" + e.URL + "’ is not a file."
|
||||
}
|
||||
|
||||
type errSourceListEmpty errInvalidArgument
|
||||
|
||||
func (e errSourceListEmpty) Error() string {
|
||||
|
||||
Reference in New Issue
Block a user