$errorCode
$errorCode : string
Class ServerException
$result : \AlibabaCloud\Client\Result\Result
| None found |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
__construct(\AlibabaCloud\Client\Result\Result|null $result, string $errorMessage = \AlibabaCloud\Client\SDK::RESPONSE_EMPTY, string $errorCode = \AlibabaCloud\Client\SDK::SERVICE_UNKNOWN_ERROR)
ServerException constructor.
| \AlibabaCloud\Client\Result\Result|null | $result | |
| string | $errorMessage | |
| string | $errorCode |
| None found |
getResult() : \AlibabaCloud\Client\Result\Result
| None found |
| None found |
| codeCoverageIgnore |
|---|
| codeCoverageIgnore |
|---|
resolvePropertiesByReturn() : void
Resolve the error message based on the return of the server.
| None found |
distinguishSignatureErrors()
If the string to be signed are the same with server's, it is considered a credential error.
| None found |
bodyAsErrorMessage()
If the error message matches the default message and the server has returned content, use the return content
| None found |
| None found |