Is it possible to map \SoapFault
to custom Exceptions like you can with objects?
I'm accessing an ESP's SOAP service through their WSDL. The WSDL defines a set of fault objects. Is it possible to create custom Exception classes so that \SoapClient
will throw those instead of the generic \SoapFault
?