Salaros\Vtiger\VTWSCLib\WSException

class WSException

Vtiger Web Services PHP Client Exception class

Class WSException

property message

protected

property code

protected

property file

protected

property line

protected

__construct($message, $code = 'UNKNOWN', Exception $previous = null)

Redefine the exception so message isn’t optional

Parameters:
  • $message
  • $code
  • $previous (Exception) –
__toString()

Custom string representation of object

Returns:string A custom string representation of exception
getIterator()

Retrieve an external iterator

Returns:Traversable An instance of an object implementing Traversable
getAllProperties()

Gets all the properties of the object

Returns:array Array of properties
__clone()
__wakeup()
getMessage()
getCode()
getFile()
getLine()
getTrace()
getPrevious()
getTraceAsString()