High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
//go:build windows
package bridge
import (
"errors"
"syscall"
)
const (
errSharingViolation syscall.Errno = 32 // ERROR_SHARING_VIOLATION
errLockViolation syscall.Errno = 33 // ERROR_LOCK_VIOLATION
errAccessDenied syscall.Errno = 5 // ERROR_ACCESS_DENIED
)
func isLockError(err error) bool {
var errno syscall.Errno
if errors.As(err, &errno) {
return errno == errSharingViolation || errno == errLockViolation || errno == errAccessDenied
}
return false
}