mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-18 16:16:25 +08:00
chore: rename errors
This commit is contained in:
@@ -26,7 +26,7 @@ func Move(ctx context.Context, account driver.Driver, srcPath, dstDirPath string
|
||||
return errors.WithMessage(err, "failed get dst account")
|
||||
}
|
||||
if srcAccount.GetAccount() != dstAccount.GetAccount() {
|
||||
return errors.WithStack(errs.ErrMoveBetweenTwoAccounts)
|
||||
return errors.WithStack(errs.MoveBetweenTwoAccounts)
|
||||
}
|
||||
return operations.Move(ctx, account, srcActualPath, dstDirActualPath)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user