Improved error message

This commit is contained in:
M66B 2023-02-04 09:14:28 +01:00
parent e9c567b897
commit 698af0b31e
1 changed files with 1 additions and 1 deletions

View File

@ -1420,7 +1420,7 @@ class Core {
if (target == null)
throw new FolderNotFoundException();
if (folder.id.equals(target.id))
throw new IllegalArgumentException("self");
throw new IllegalArgumentException("self type=" + folder.type + "/" + target.type);
if (!target.selectable)
throw new IllegalArgumentException("not selectable type=" + target.type);