Error reporting in the I/O module libraries