IOError.error_code

Obtains the current error code of the underlying device of the conduit.

To be overridden by a subclass for I/O devices that support querying a device specific error status (e.g. sockets with getsockopt()).

class IOError
int
error_code
()

Return Value

Type: int

the current error code of the underlying device of the conduit.

Meta