[soap] Enhance SOAPFaultError error unwrapping
This commit is contained in:
parent
72ec887a3d
commit
730ab6506b
@ -202,5 +202,6 @@ type SOAPFaultError struct {
|
||||
}
|
||||
|
||||
func (err *SOAPFaultError) Error() string {
|
||||
return fmt.Sprintf("SOAP fault: %s", err.FaultString)
|
||||
return fmt.Sprintf("SOAP fault. Code: %s | Explanation: %s | Detail: %s",
|
||||
err.FaultCode, err.FaultString, string(err.Detail.Raw))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user