__construct()
__construct( $apiName, $httpStatus, $otsErrorCode = null, $otsErrorMsg = null, $requestId = null)
Parameters
$apiName | ||
$httpStatus | ||
$otsErrorCode | ||
$otsErrorMsg | ||
$requestId |
OTSServerException 是 OTS SDK遇到OTS服务端返回错误时抛出的异常, 包含 HTTP状态码, OTS Error Code, OTS Error Message,以及 Request ID。