/** * Sends an error to the output. * * @return void * * @codeCoverageIgnore */ public function outputError() { try { $this->response->sendError(); } catch (\Exception $exception) { error_log('Uncaught exception during error shutdown: ' . $exception->getMessage()); exit; } }