summaryrefslogtreecommitdiff
path: root/tests/http/error.php
blob: 527e4068d616d42899d1ccd91c79b0e4329799ae (plain)
1
2
3
4
5
6
7
8
9
<?php

use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;

function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface
{
    throw new Error("error");
}