Class Exception
Exception thrown by the services when something goes wrong
-
Exception
-
Maniaplanet\WebServices\Exception
Methods summary
public
|
#
__construct( mixed $message = '', mixed $code = 0, mixed $HTTPStatusCode = 0, mixed $HTTPStatusMessage = '' )
|
public
integer
|
#
getHTTPStatusCode( )
The HTTP status code returned in case of an error, eg. 404
The HTTP status code returned in case of an error, eg. 404
Returns
integer
|
public
string
|
#
getHTTPStatusMessage( )
The HTTP status message returned in case of an error, eg. "Not Found"
The HTTP status message returned in case of an error, eg. "Not Found"
Returns
string
|