[Vortex] Bug: Wrong error msg when connection refused

Francis Brosnan Blazquez francis at aspl.es
Wed Apr 9 12:46:23 CEST 2008


Hi Jens,

> The error message returned from vortex_connection_get_message()
> should  
> be "Connection refused" in this case. Could this be fixed?

Sure. I also think this should be reported as connection refused. I've
updated the message to begin with a "Connection refused." and then the
previous message.

> In general, it would be better for Vortex to use error numbers than  
> just strings, so that the calling code can tell what error occurred,  
> and do something appropriate or at least look up its own error
> message  
> to give the user.

I agree. Cheers!

-- 
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.




More information about the Vortex mailing list