Php/docs/swoole-server.getlasterror
From Get docs
Swoole\Server::getLastError
(PECL swoole >= 1.9.0)
Swoole\Server::getLastError — Get the error code of the most recent error.
Description
public Swoole\Server::getLastError ( ) : int
Parameters
This function has no parameters.