| Total Complexity | 2 | 
| Total Lines | 18 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 7 | class JsonRpcInvalidRequestException extends JsonRpcException | ||
| 8 | { | ||
| 9 | const CODE = -32600; | ||
| 10 | |||
| 11 | const CONTENT_KEY = 'content'; | ||
| 12 | const DESCRIPTION_KEY = 'description'; | ||
| 13 | |||
| 14 | /** | ||
| 15 | * @param mixed $content Request parsed content | ||
| 16 | * @param string $message Optional description | ||
| 17 | */ | ||
| 18 | 2 | public function __construct($content, string $description = null) | |
| 27 |