diff options
Diffstat (limited to 'tests/http/error.php')
-rw-r--r-- | tests/http/error.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/http/error.php b/tests/http/error.php new file mode 100644 index 00000000..6df0d4b5 --- /dev/null +++ b/tests/http/error.php @@ -0,0 +1,9 @@ +<?php + +use Psr\Http\Message\ResponseInterface; +use Psr\Http\Message\ServerRequestInterface; + +function handleRequest(ServerRequestInterface $req, ResponseInterface $resp): ResponseInterface +{ + throw new Error("error"); +}
\ No newline at end of file |