Contentserv PHP API

CSHttpException extends CSException
in package

Exception class for HTTP utils

Tags

Table of Contents

__construct()  : mixed
Constructs the HTTP exception
getResponse()  : CSHttpResponse
Returns the HTTP response generated by the corresponding call.

Methods

__construct()

Constructs the HTTP exception

public __construct(string $sMessage, int $iCode[, int $iType = E_ERROR ][, CSHttpResponse $oResponse = null ]) : mixed
Parameters
$sMessage : string
$iCode : int
$iType : int = E_ERROR
$oResponse : CSHttpResponse = null
Tags
Return values
mixed

        

Search results