BaseExceptionHandler.php
system/Debug/BaseExceptionHandler.php
1 class
9 methods
class BaseExceptionHandler
Provides common functions for exception handlers, especially around displaying the output.
__construct
(ExceptionsConfig $config)
handle
(Throwable $exception, RequestInterface $request, ResponseInterface $response, int $statusCode, int $exitCode, )
collectVars
(Throwable $exception, int $statusCode)
maskSensitiveData
(array $trace, array $keysToMask, string $path = '')
maskData
($args, array $keysToMask, string $path = '')
describeMemory
(int $bytes)
highlightFile
(string $file, int $lineNumber, int $lines = 15)
render
(Throwable $exception, int $statusCode, $viewFile = null)
string
()