Interface Yiisoft\Request\Body\BadRequestHandlerInterface
| Extends | Psr\Http\Server\RequestHandlerInterface |
|---|---|
| Implemented by | Yiisoft\Request\Body\BadRequestHandler |
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\Request\Body\BadRequestHandlerInterface |
Method Details
Creates new instance of handler with parser exception set.
| public abstract self withParserException ( Yiisoft\Request\Body\ParserException $e ) | ||
| $e | Yiisoft\Request\Body\ParserException |
Exception occurred during parsing request. |
public function withParserException(ParserException $e): self;
Signup or Login in order to comment.