IHMO you should raise CaptureError on IOError.