Interface Yiisoft\ErrorHandler\ThrowableResponseFactoryInterface
| Implemented by | Yiisoft\ |
|---|
ThrowableResponseFactoryInterface produces a response for Throwable object.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| create() | Handles a Throwable object and produces a response. |
Yiisoft\ |
Method Details
Handles a Throwable object and produces a response.
| public abstract \ | ||
| $throwable | Throwable | |
| $request | \ |
|
public function create(Throwable $throwable, ServerRequestInterface $request): ResponseInterface;
User Contributed Notes
Leave a comment
Join the conversation to share a note.