Utility/IntuitErrorHandler.phpView Source

Show: PublicProtectedPrivateinherited
Table of Contents
Package
Default  

\IntuitErrorHandler

Package: Default
Intuit Error Handler class.

Methods

methodpublicHandleErrors( $response) : void

Check the response for any errors it might indicate. Will throw an exception if API response indicates an error.

Will throw an exception if it has a problem determining success or error.
Parameters
NameTypeDescription
$response
methodpublicHandleErrorsXml( $responseXml) : void

Check the response for any errors it might indicate. Will throw an exception if API response indicates an error.

Will throw an exception if it has a problem determining success or error.
Parameters
NameTypeDescription
$responseXml
methodpublicIsValidXml( $inputString) : boolean
static

Validates the input string is a well formatted xml string

Parameters
NameTypeDescription
$inputString
Returns
TypeDescription
booleanTrue if 'inputString' is a valid xml
Documentation was generated by phpDocumentor 2.8.5.