On Wednesday, 8 October 2014 at 03:33:38 UTC, Adam D. Ruppe wrote:
You could just wrap the write function in a try/catch to explicitly ignore the error.
Or if the write function is there only for debug purposes you could wrap it in a debug/version block.
http://ddili.org/ders/d.en/cond_comp.html