Lines Matching refs:exception
90 } catch (HttpException $exception) {
98 return $this->httpExceptionResponse($request, $exception);
99 } catch (FilesystemException $exception) {
103 return $this->thirdPartyExceptionResponse($request, $exception);
104 } catch (Throwable $exception) {
118 return $this->unhandledExceptionResponse($request, $exception);
127 return $this->unhandledExceptionResponse($request, $exception);
136 return $this->unhandledExceptionResponse($request, $exception);
142 … return response(nl2br((string) $exception), StatusCodeInterface::STATUS_INTERNAL_SERVER_ERROR);
148 * @param HttpException $exception
152 …n httpExceptionResponse(ServerRequestInterface $request, HttpException $exception): ResponseInterf… argument
158 $status_code = $exception->getCode();
171 'alert' => $exception->getMessage(),
172 'title' => $exception->getMessage(),
179 * @param Throwable $exception
183 …thirdPartyExceptionResponse(ServerRequestInterface $request, Throwable $exception): ResponseInterf… argument
195 'alert' => $exception->getMessage(),
196 'title' => $exception->getMessage(),
203 * @param Throwable $exception
207 … unhandledExceptionResponse(ServerRequestInterface $request, Throwable $exception): ResponseInterf… argument
213 …$trace = $exception->getMessage() . ' ' . $exception->getFile() . ':' . $exception->getLine() …