1 | <?php |
||
5 | class ResponseParseException extends \RuntimeException implements JsonRpcExceptionInterface |
||
6 | { |
||
7 | /** @return static */ |
||
8 | 4 | public static function noErrorOrResultPresent() |
|
16 | |||
17 | /** @return static */ |
||
18 | 1 | public static function bothErrorAndResultPresent() |
|
26 | |||
27 | /** @return static */ |
||
28 | 1 | public static function noErrorCodePresent() |
|
36 | |||
37 | /** @return static */ |
||
38 | 1 | public static function noErrorMessagePresent() |
|
46 | |||
47 | /** @return static */ |
||
48 | 1 | public static function noVersionSpecified() |
|
56 | |||
57 | /** @return static */ |
||
58 | 1 | public static function inconsistentVersionReceived() |
|
66 | |||
67 | /** @return static */ |
||
68 | public static function notAJsonResponse() |
||
76 | |||
77 | /** @return static */ |
||
78 | 1 | public static function noIdSpecified() |
|
86 | |||
87 | /** |
||
88 | * @return static |
||
89 | */ |
||
90 | 1 | public static function errorIsNotAnObject() |
|
98 | |||
99 | 2 | public static function unexpectedType($path, $expected, $actual) |
|
110 | } |
||
111 |