for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Yoanm\JsonRpcServer\Domain\Exception;
/**
* Class JsonRpcInvalidParamsException
*/
class JsonRpcInvalidParamsException extends JsonRpcException
{
const CODE = -32602;
* @param string $method
* @param string $message
public function __construct(string $method, string $message)
$data = [
'method' => $method,
'message' => $message,
];
parent::__construct(self::CODE, 'Invalid params', $data);
}