App\Http\Controllers\Front\Api\Controller::respondWithInternalServerError PHP Method

respondWithInternalServerError() public method

Send a response with a internal server error code.
public respondWithInternalServerError ( string $message = 'Internal Server Error' ) : Illuminate\Http\Response
$message string
return Illuminate\Http\Response
    public function respondWithInternalServerError($message = 'Internal Server Error')
    {
        return $this->setStatusCode(Response::HTTP_INTERNAL_SERVER_ERROR)->respondWithError($message);
    }