Obtains the current error code of the underlying I/O device.
To be overridden by a subclass for I/O devices that support querying a device specific error status (e.g. sockets with getsockopt()).
the current error code of the underlying I/O device.
See Implementation
Obtains the current error code of the underlying I/O device.
To be overridden by a subclass for I/O devices that support querying a device specific error status (e.g. sockets with getsockopt()).