yorukot/superfile · error
Recycle Bin operation was aborted
Error message
Recycle Bin operation was aborted
What it means
Error "Recycle Bin operation was aborted" thrown in yorukot/superfile.
Source
Thrown at src/internal/trash/trash_windows.go:201
item, err := shellItemFromPath(path)
if err != nil {
return err
}
defer item.release()
sink := newProgressSink()
if hr := fileOperation.call(18, uintptr(unsafe.Pointer(item)), uintptr(unsafe.Pointer(sink))); failed(hr) {
return hresultError("IFileOperation.DeleteItem", hr)
}
if hr := fileOperation.call(21); failed(hr) {
return hresultError("IFileOperation.PerformOperations", hr)
}
var aborted int32
if hr := fileOperation.call(22, uintptr(unsafe.Pointer(&aborted))); failed(hr) {
return hresultError("IFileOperation.GetAnyOperationsAborted", hr)
}
if aborted != 0 {
return fmt.Errorf("Recycle Bin operation was aborted")
}
if sink.failedHR != 0 {
return hresultError("IFileOperation.PostDeleteItem", sink.failedHR)
}
if !sink.recycled {
return fmt.Errorf("Recycle Bin operation did not return a recycled item")
}
runtime.KeepAlive(sink)
return nil
}
func shellItemFromPath(path string) (*comObject, error) {
utf16Path, err := syscall.UTF16PtrFromString(path)
if err != nil {
return nil, err
}
var item *comObject
hr, _, _ := procSHCreateItemFromParsingName.Call(View on GitHub (pinned to b72f550bc6)
When it happens
Trigger: Thrown at src/internal/trash/trash_windows.go:201 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of yorukot/superfile@b72f550bc6 (2026-09-01).
Data as JSON: /api/errors/57241c0034312268.
Report an issue: GitHub.