Interface Yiisoft\Request\Body\BadRequestHandlerInterface
| Extends | Psr\ |
|---|---|
| Implemented by | Yiisoft\ |
Forms response when there is an error parsing request.
Public Methods
| Method | Description | Defined By |
|---|---|---|
| withParserException() | Creates new instance of handler with parser exception set. | Yiisoft\ |
Method Details
Creates new instance of handler with parser exception set.
| public abstract self withParserException ( Yiisoft\ | ||
| $e | Yiisoft\ |
Exception occurred during parsing request. |
public function withParserException(ParserException $e): self;
User Contributed Notes
Leave a comment
Join the conversation to share a note.