Final Class Yiisoft\Yii\Http\Handler\UnhandledRequestHandler
| Inheritance | Yiisoft\ |
|---|---|
| Implements | Psr\ |
Handler that throws a RuntimeException when invoked.
Used as a default fallback handler when none is provided.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| handle() | Yiisoft\ |
Method Details
| public \ | ||
| $request | \ |
|
| throws | RuntimeException | |
|---|---|---|
public function handle(ServerRequestInterface $request): ResponseInterface
{
throw new RuntimeException('No response was generated.');
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.