# ZMQPoll::getLastErrors

(PECL zmq >= 0.5.0)

ZMQPoll::getLastErrors — Get poll errors

### Description

public ZMQPoll::getLastErrors ( ) : array

Returns the ids of the objects that had errors in the last poll.

### Parameters

This function has no parameters.

### Return Values

Returns an array containing ids for the items that had errors in the last poll. Empty array is returned if there were no errors.