package enum DriverPickupIdentity { package static func requireOwned(pid: Int32, windowID: UInt32, hitPID: Int32, hitWindowID: UInt32) throws { guard pid > 0, windowID > 0, hitPID == pid, hitWindowID == windowID else { throw DriverError("Safety stop: drag pickup is covered by another window; input withheld") } } }