use_soap_error_handler

Set whether to use the SOAP error handler

&reftitle.description; `bool` `use_soap_error_handler` `bool` `enable`&true;

This function sets whether or not to use the SOAP error handler in the SOAP server. It will return the previous value. If set to &true;, details of errors in a `SoapServer` application will be sent to the client as a SOAP fault message. If &false;, the standard PHP error handler is used. The default is to send error to the client as SOAP fault message.

&reftitle.parameters;

`enable`

- Set to &true; to send error details to clients.

&reftitle.returnvalues;

Returns the original value.

&reftitle.seealso;

- `set_error_handler`
- `set_exception_handler`