cleanup error messages

This commit is contained in:
Joel Wetzell
2025-12-04 16:35:03 -06:00
parent ba2fead834
commit 1c8346cf65
8 changed files with 25 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ func init() {
hostString, ok := host.(string)
if !ok {
return nil, fmt.Errorf("net.udp.client host must be uint16")
return nil, fmt.Errorf("net.udp.client host must be a string")
}
port, ok := params["port"]