abort
reactphp/async
The
abort
function throws
an HTTP exception
which will be rendered by the
exception handler
:
<?php abort
(
403
);