Handle error from XDR marshalling