I'm +1 for making the error message more useful; I think this would be more than just the endpoint name we tried to connect to, but also the source of that name (default, environment variable, command-line parameter).
I'm +0 on this; option validation is not unsensible, but the only *correct* validation is provided by the result of connect().
I'm +1 for making the error message more useful; I think this would be more than just the endpoint name we tried to connect to, but also the source of that name (default, environment variable, command-line parameter).
I'm +0 on this; option validation is not unsensible, but the only *correct* validation is provided by the result of connect().