| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 22 | public function handleError(ServerRequestInterface $request): ServerRequestInterface |
||
| 23 | { |
||
| 24 | return $request->withAttribute( |
||
| 25 | ActionHandler::ATTR_RESPONDER, |
||
| 26 | [ErrorResponder::class, [ |
||
| 27 | ':message' => $request->getAttribute(ActionHandler::ATTR_STATUS_MESSAGE), |
||
| 28 | ':statusCode' => $request->getAttribute(ActionHandler::ATTR_STATUS_CODE) |
||
| 29 | ]] |
||
| 33 |