IOError.checkDeviceError

Checks the error state of the underlying device of the conduit and throws this instance on error.

This will in fact only happen if a subclass overrides error_code().

class IOError
void
checkDeviceError
(,
istring file = __FILE__
,
int line = __LINE__
)

Parameters

msg istring

message

file istring

source code file name

line int

source code line

Throws

this instance if an error is reported for the underlying device of the conduit.

Meta