python: Return a more descriptive message on xseg_join failure

If xseg_join fail, raise an Error with a more descriptive message based on
errno.