src/Thybag/SharePointAPI.php
private function onError (\SoapFault $fault) {
		$more = '';
		if (isset($fault->detail->errorstring)) {
			$more = 'Detailed: ' . $fault->detail->errorstring;
		}
		throw new \Exception('Error (' . $fault->faultcode . ') ' . $fault->faultstring . ',more=' . $more);
	}
private function onError (\SoapFault $fault) {
		$more = '';
		if (isset($fault->detail->errorstring)) {
			$more = 'Detailed: ' . $fault->detail->errorstring;
		}
		throw new \Exception('Error (' . $fault->faultcode . ') ' . $fault->faultstring . ',more=' . $more);
	}
private function onError ( \ SoapFault $ fault ) { $ more = '' ; if ( isset ( $ fault -> detail -> errorstring ) ) { $ more = 'Detailed: ' . $ fault -> detail -> errorstring ; } throw new \ Exception ( 'Error (' . $ fault -> faultcode . ') ' . $ fault -> faultstring . ',more=' . $ more ) ; }
onError
This is called when sharepoint throws an error and displays basic debug info.

@param	$fault		Error Information
@throws	\Exception	Puts data from $fault into an other exception
onError This is called when sharepoint throws an error and displays basic debug info .