Swoole\Server
PHP Manual

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 integer Swoole\Server::getLastError ( void )

Parameters

This function has no parameters.

Return Values


Swoole\Server
PHP Manual