4 ms·
I see warning as an error where some acceptable course of action could be taken without needing to abort the action. For example, the user has provided a confi
by deweerdt 11y ago
I see warning as an error where some acceptable course of action could be taken without needing to abort the action.
For example, the user has provided a config with two TCP ports to listen to, but the program only supports one.
You can either error out, and abort the action to listen to a port, or warn the user saying that you chose one of the ports, and proceed with listening to a port.