Error handler for stream_socket_client()
(int) (Required) Error number (e.g. E_WARNING)
(string) (Required) Error message
File: wp-includes/Requests/Transport/fsockopen.php
public function connect_error_handler($errno, $errstr) {
		// Double-check we can handle it
		if (($errno & E_WARNING) === 0 && ($errno & E_NOTICE) === 0) {
			// Return false to indicate the default error handler should engage
			return false;
		}
		$this->connect_error .= $errstr . "\n";
		return true;
	}  
    © 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
    https://developer.wordpress.org/reference/classes/requests_transport_fsockopen/connect_error_handler