Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
StopRunnerException
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\McpServer\Exception;
3
4/**
5 * Exception is only thrown to stop the MCP server runner gracefully. Otherwise it would
6 * never stop in the integration tests.
7 */
8class StopRunnerException extends \RuntimeException
9{
10    public function __construct(string $message = "Runner has been stopped", int $code = 0, ?\Throwable $previous = null)
11    {
12        parent::__construct($message, $code, $previous);
13    }
14}