Actually, that doesn't work in this case because of the way the error is thrown in the reader code. The first thing I tried was binding *err* to a dud writer.