Php/docs/swoole-server.getlasterror

From Get docs

Swoole\Server::getLastError

(PECL swoole >= 1.9.0)

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


Description

public Swoole\Server::getLastError ( ) : int

Parameters

This function has no parameters.


Return Values