<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Dec 5, 2014 at 10:23 AM, Sean McBride <span dir="ltr"><<a href="mailto:sean@rogue-research.com" target="_blank">sean@rogue-research.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
So is one expected to call GetErrorCode() after Write()?<br></blockquote><div><br></div><div>Yes, but even that is probably insufficient for many of the writers</div><div>because not all writers set the ErrorCode.</div><div><br></div><div>The most robust way to check for errors is to add an observer that</div><div>catches ErrorEvent.</div><div> </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Should vtkWriter::Write() be changed to return something like:<br>
<br>
 return (this->GetErrorCode == vtkErrorCode::NoError);<br>
</blockquote></div><br></div><div class="gmail_extra">This sounds like a good idea.</div><div class="gmail_extra"><br></div><div class="gmail_extra"> - David</div></div>