芝麻web文件管理V1.00
编辑当前文件:/home/mgatv524/lot.mgaplay.com.br/vendor/slim/slim/Slim/Error/Renderers/JsonErrorRenderer.php
$this->getErrorTitle($exception)]; if ($displayErrorDetails) { $error['exception'] = []; do { $error['exception'][] = $this->formatExceptionFragment($exception); } while ($exception = $exception->getPrevious()); } return (string) json_encode($error, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); } /** * @param Throwable $exception * @return array
*/ private function formatExceptionFragment(Throwable $exception): array { return [ 'type' => get_class($exception), 'code' => $exception->getCode(), 'message' => $exception->getMessage(), 'file' => $exception->getFile(), 'line' => $exception->getLine(), ]; } }