Total Complexity | 2 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class ClientException extends \RuntimeException implements ExceptionInterface |
||
11 | { |
||
12 | /** |
||
13 | * @static string The default message for this exception |
||
14 | */ |
||
15 | const MESSAGE = 'General error, caused by the client.'; |
||
16 | |||
17 | /** |
||
18 | * ClientException constructor. |
||
19 | * |
||
20 | * @param string $message |
||
21 | * @param int $code |
||
22 | * @param \Throwable|null $previous |
||
23 | */ |
||
24 | 28 | public function __construct(string $message = "", int $code = 0, \Throwable $previous = null) |
|
29 |