You are here

function soap_fault::soap_fault in Salesforce Suite 5

Same name in this branch
  1. 5 includes/nusoap.php \soap_fault::soap_fault()
  2. 5 includes/nusoap.orig.php \soap_fault::soap_fault()
Same name and namespace in other branches
  1. 5.2 includes/nusoap.php \soap_fault::soap_fault()
  2. 5.2 includes/nusoap.orig.php \soap_fault::soap_fault()

* constructor

Parameters

string $faultcode (client | server):

string $faultactor only used when msg routed between multiple actors:

string $faultstring human readable error message:

mixed $faultdetail detail, typically a string or array of string:

File

includes/nusoap.php, line 952

Class

soap_fault
Contains information for a SOAP fault. Mainly used for returning faults from deployed functions in a server instance. @author Dietrich Ayala <dietrich@ganx4.com> @access public

Code

function soap_fault($faultcode, $faultactor = '', $faultstring = '', $faultdetail = '') {
  parent::nusoap_base();
  $this->faultcode = $faultcode;
  $this->faultactor = $faultactor;
  $this->faultstring = $faultstring;
  $this->faultdetail = $faultdetail;
}