blink\core\Application::internalServerError PHP 메소드

internalServerError() 보호된 메소드

protected internalServerError ( )
    protected function internalServerError()
    {
        $response = new Response(['data' => $this->lastError ?: new HttpException(500, 'There was an internal server error')]);
        $this->formatException($response->data, $response);
        $response->prepare();
        return $response;
    }