\Aliyun\OTSOTSServerException

OTSServerException 是 OTS SDK遇到OTS服务端返回错误时抛出的异常, 包含 HTTP状态码, OTS Error Code, OTS Error Message,以及 Request ID。

Summary

Methods
Properties
Constants
__construct()
getOTSErrorMessage()
getOTSErrorCode()
getRequestId()
getHttpStatus()
__toString()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(  $apiName,   $httpStatus,   $otsErrorCode = null,   $otsErrorMsg = null,   $requestId = null) 

Parameters

$apiName
$httpStatus
$otsErrorCode
$otsErrorMsg
$requestId

getOTSErrorMessage()

getOTSErrorMessage() 

getOTSErrorCode()

getOTSErrorCode() 

getRequestId()

getRequestId() 

getHttpStatus()

getHttpStatus() 

__toString()

__toString()