DawidMazurek/php-jsonrpc-server

View on GitHub
src/Exception/MethodNotFound.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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);
    }
}