Total Complexity | 3 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
7 | class JsonRpcParseErrorException extends JsonRpcException |
||
8 | { |
||
9 | const CODE = -32700; |
||
10 | |||
11 | const DATA_CONTENT_KEY = 'content'; |
||
12 | const DATA_ERROR_KEY = 'error'; |
||
13 | const DATA_ERROR_CODE_KEY = 'code'; |
||
14 | const DATA_ERROR_MESSAGE_KEY = 'message'; |
||
15 | |||
16 | /** |
||
17 | * @param string $content |
||
18 | * @param mixed $parseErrorCode |
||
19 | * @param mixed $parseErrorMessage |
||
20 | */ |
||
21 | 4 | public function __construct(string $content, $parseErrorCode = null, $parseErrorMessage = null) |
|
36 |