has_error

$

s


->has_error([


timeout


])

Same as can_read , but checks for handles that have an error condition.