| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class BeesWaxResponseException extends BeesWaxGenericException |
||
| 9 | { |
||
| 10 | /** @var resource */ |
||
| 11 | protected $curlHandler; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * BeesWaxResponseException constructor. |
||
| 15 | * |
||
| 16 | * @param resource $curlHandler |
||
| 17 | * @param string $message |
||
| 18 | * @param Throwable|null $previous |
||
| 19 | */ |
||
| 20 | public function __construct($curlHandler, string $message = '', Throwable $previous = null) |
||
| 21 | { |
||
| 22 | parent::__construct($message, static::CODE_WAX_RESPONSE_EXCEPTION, $previous); |
||
| 23 | $this->curlHandler = $curlHandler; |
||
| 24 | } |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @return resource |
||
| 28 | */ |
||
| 29 | public function getCurlHandler() |
||
| 32 | } |
||
| 33 | } |
||
| 34 |