src/Exception/MethodNotFound.php
<?php
declare(strict_types = 1);
namespace DawidMazurek\JsonRpc\Exception;
use DawidMazurek\JsonRpc\Error\JsonRpcErrorCodes;
class MethodNotFound extends JsonRpcException
{
public function __construct(string $message = '')
{
parent::__construct("Method not found: " . $message, JsonRpcErrorCodes::METHOD_NOT_FOUND);
}
}