Swoole\Server::getLastError

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Description

public Swoole\Server::getLastError ( void ) : integer

Parameters

This function has no parameters.

Return Values