1 | <?php |
||
7 | class YourMembershipResponseException extends YourMembershipException |
||
8 | { |
||
9 | /** |
||
10 | * Api Method That is related to this exception |
||
11 | * @var string |
||
12 | */ |
||
13 | private $apiMethod; |
||
14 | |||
15 | 3 | public function __construct(string $message, int $code = 0, string $apiMethod, \Exception $e = null) |
|
20 | |||
21 | /** |
||
22 | * Returns the APi Method Name |
||
23 | * @method getApiMethodName |
||
24 | * @author PA |
||
25 | * @date 2017-01-12 |
||
26 | * @return string |
||
27 | */ |
||
28 | 1 | public function getApiMethodName() : string { |
|
31 | |||
32 | 1 | public function __toString() |
|
36 | |||
37 | } |
||
38 |