@@ 200-201 (lines=2) @@ | ||
197 | ||
198 | if (isset($body['error']['code'])) { |
|
199 | switch ($body['error']['code']) { |
|
200 | case -32600: |
|
201 | throw new \InvalidArgumentException( |
|
202 | 'Invalid Request: ' . $body['error']['message'], |
|
203 | $body['error']['code'] |
|
204 | ); |
|
@@ 210-211 (lines=2) @@ | ||
207 | 'Procedure not found: ' . $body['error']['message'], |
|
208 | $body['error']['code'] |
|
209 | ); |
|
210 | case -32602: |
|
211 | throw new \InvalidArgumentException( |
|
212 | 'Invalid arguments: ' . $body['error']['message'], |
|
213 | $body['error']['code'] |
|
214 | ); |