Total Complexity | 5 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | abstract class AlibabaCloudException extends Exception |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $errorCode; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $errorMessage; |
||
25 | |||
26 | /** |
||
27 | * @return string |
||
28 | */ |
||
29 | 10 | public function getErrorCode() |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @codeCoverageIgnore |
||
36 | * @deprecated |
||
37 | */ |
||
38 | public function setErrorCode() |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * @return string |
||
45 | */ |
||
46 | 31 | public function getErrorMessage() |
|
49 | } |
||
50 | |||
51 | /** |
||
52 | * @codeCoverageIgnore |
||
53 | * |
||
54 | * @param $errorMessage |
||
55 | * |
||
56 | * @deprecated |
||
57 | */ |
||
58 | public function setErrorMessage($errorMessage) |
||
59 | { |
||
60 | $this->errorMessage = $errorMessage; |
||
61 | } |
||
62 | |||
63 | /** |
||
64 | * @codeCoverageIgnore |
||
65 | * @deprecated |
||
66 | */ |
||
67 | public function setErrorType() |
||
69 | } |
||
70 | } |
||
71 |