PubNubServerException
extends PubNubException
in package
Class PubNubException
Table of Contents
Properties
Methods
- forceMessage() : mixed
- getBody() : mixed
- getServerErrorDetails() : mixed
- getServerErrorMessage() : mixed
- getServerErrorSource() : mixed
- getStatus() : PNStatus
- getStatusCode() : int
- setRawBody() : $this
- setStatus() : $this
- setStatusCode() : $this
- updateMessage() : mixed
Properties
$message
protected
mixed
$message
= "Server responded with an error"
$body
private
mixed
$body
Already json_decoded object (if possible)
$rawBody
private
string
$rawBody
$status
private
PNStatus
$status
$statusCode
private
int
$statusCode
Methods
forceMessage()
public
forceMessage(string $message) : mixed
Parameters
- $message : string
getBody()
public
getBody() : mixed
getServerErrorDetails()
public
getServerErrorDetails() : mixed
getServerErrorMessage()
public
getServerErrorMessage() : mixed
getServerErrorSource()
public
getServerErrorSource() : mixed
getStatus()
public
getStatus() : PNStatus
Return values
PNStatusgetStatusCode()
public
getStatusCode() : int
Return values
intsetRawBody()
public
setRawBody(string $rawBody) : $this
Parameters
- $rawBody : string
Return values
$thissetStatus()
public
setStatus(PNStatus $status) : $this
Parameters
- $status : PNStatus
Return values
$thissetStatusCode()
public
setStatusCode(int $statusCode) : $this
Parameters
- $statusCode : int
Return values
$thisupdateMessage()
protected
updateMessage() : mixed