Swoole\Server::getLastError

(PECL swoole >= 1.9.0)

Swoole\Server::getLastErrorGet the error code of the most recent error.

說(shuō)明

public Swoole\Server::getLastError(): int

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值