handleFault method
Implementation
XmlDocument handleFault(Fault fault, {List<Codec>? codecs}) => XmlDocument([
XmlProcessing('xml', 'version="1.0"'),
XmlElement(XmlName('methodResponse'), [], [
XmlElement(XmlName('fault'), [], [
XmlElement(XmlName('value'), [], [
encode(fault, codecs ?? [faultCodec, ...this.codecs])
])
])
])
]);