f0d6cde5
xu
vendor
|
1
2
3
4
|
<?php
namespace AlibabaCloud\Client\Exception;
|
0c34aba8
xu
更新阿里云短信接口
|
5
6
7
|
/**
* Class AlibabaCloudException
*
|
f0d6cde5
xu
vendor
|
8
9
10
11
12
|
* @package AlibabaCloud\Client\Exception
*/
abstract class AlibabaCloudException extends \Exception
{
|
0c34aba8
xu
更新阿里云短信接口
|
13
|
/**
|
f0d6cde5
xu
vendor
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
* @var string
*/
protected $errorCode;
/**
* @var string
*/
protected $errorMessage;
/**
* @return string
*/
public function getErrorCode()
{
return $this->errorCode;
}
/**
* @codeCoverageIgnore
*
* @deprecated deprecated since version 2.0.
*
|
0c34aba8
xu
更新阿里云短信接口
|
36
|
* @param $errorCode
|
f0d6cde5
xu
vendor
|
37
|
*/
|
0c34aba8
xu
更新阿里云短信接口
|
38
|
public function setErrorCode($errorCode)
|
f0d6cde5
xu
vendor
|
39
|
{
|
0c34aba8
xu
更新阿里云短信接口
|
40
|
$this->errorCode = $errorCode;
|
f0d6cde5
xu
vendor
|
41
42
43
44
45
46
47
48
49
50
51
52
53
|
}
/**
* @return string
*/
public function getErrorMessage()
{
return $this->errorMessage;
}
/**
* @codeCoverageIgnore
*
|
f0d6cde5
xu
vendor
|
54
|
* @deprecated deprecated since version 2.0.
|
0c34aba8
xu
更新阿里云短信接口
|
55
56
|
*
* @param $errorMessage
|
f0d6cde5
xu
vendor
|
57
58
59
60
61
62
63
64
|
*/
public function setErrorMessage($errorMessage)
{
$this->errorMessage = $errorMessage;
}
/**
* @codeCoverageIgnore
|
0c34aba8
xu
更新阿里云短信接口
|
65
|
*
|
f0d6cde5
xu
vendor
|
66
67
68
69
70
|
* @deprecated deprecated since version 2.0.
*
* @return void
*/
public function setErrorType()
|