@@ -110,6 +110,9 @@ |
||
| 110 | 110 | return $this->getStatusCodeFromThrowable($exception); |
| 111 | 111 | } |
| 112 | 112 | |
| 113 | + /** |
|
| 114 | + * @param integer $code |
|
| 115 | + */ |
|
| 113 | 116 | private function createViewFromThrowable(\Throwable $exception, $code, array $templateData): View |
| 114 | 117 | { |
| 115 | 118 | $view = new View($exception, $code, $exception instanceof HttpExceptionInterface ? $exception->getHeaders() : []); |