added error type in XML output, nicer for users