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
(
string msg
,
string file = __FILE__
,
int line = __LINE__
)

Parameters

msg string

message

file string

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