def extractDetails(remoteException):
    """Extract the details of an xml-rpc exception error message"""
    try:
        details = remoteException.faultString or remoteException.message
        details = details.split(":", 2)[-1].replace("'>", "").lstrip()
    except AttributeError:
        details = str(remoteException)

    return details.replace('\n', '; ')