- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for syscall (0.14 sec)
-
internal/config/errors-utils.go
if e, ok := err.(Err); ok { return e } // Show a generic message for known golang errors if errors.Is(err, syscall.EADDRINUSE) { return ErrPortAlreadyInUse(err).Msg("Specified port is already in use") } else if errors.Is(err, syscall.EACCES) || errors.Is(err, syscall.EPERM) { if netErr, ok := err.(*net.OpError); ok { return ErrPortAccess(netErr).Msg("Insufficient permissions to use specified port") }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Mar 06 16:56:10 GMT 2023 - 3.7K bytes - Viewed (0)