src/Leevel/Router/ResponseFactory.php
public function apiInternalServerError(?string $message = null, ?string $text = null): ApiResponse
    {
        return $this->createApiResponse()->internalServerError($message, $text);
    }
public function apiInternalServerError(?string $message = null, ?string $text = null): ApiResponse
    {
        return $this->createApiResponse()->internalServerError($message, $text);
    }
服务器内部错误
服务器遇到错误，无法完成请求: 500.

@param string $message
@param string $text

@return \Leevel\Http\ApiResponse