fixed error code on xlient provider exception