Aliyun_Log_Exception

Extends \Exception

The Exception of the log serivce request & response.

author

log service dev

package

LOG_PHP_SDK

Methods

Aliyun_Log_Exception constructor

__construct(string $code, string $message, string $requestId = '') 

Arguments

$code

string

log service error code.

$message

string

detailed information for the exception.

$requestId

string

the request id of the response, '' is set if client error.

The __toString() method allows a class to decide how it will react when it is treated like a string.

__toString() : string

Response

string

Get Aliyun_Log_Exception error code.

getErrorCode() : string

Response

string

Get Aliyun_Log_Exception error message.

getErrorMessage() : string

Response

string

Get log service sever requestid, '' is set if client or Http error.

getRequestId() : string

Response

string

Properties

requestId

requestId : string
var

Type(s)

string