FileTrash results in Disk Error -3092

The first line below gives me the correct path of a file that I would like to trash. (The file ‘attachment.pdf’ is sitting in my home folder.)

The 2nd line gives me an error Disk Error -3092.

Message "File to be trashed: " + HomePath("") + "attachment.pdf"
FileTrash Folder(HomePath("")),"attachment.pdf"

That’s an Apple error code, but I cannot find any documentation of what it is. A google search turns up nothing. Various lists of Apple error codes do not include it, here are a couple of the more complete ones I found.

Hey, here’s a list of error codes from 1991!!