<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dennis&#039; blog &#187; errors</title>
	<atom:link href="http://dennispiccioni.com/wordpress/archives/tag/errors/feed" rel="self" type="application/rss+xml" />
	<link>http://dennispiccioni.com/wordpress</link>
	<description></description>
	<lastBuildDate>Mon, 19 Apr 2010 22:54:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Pointless error messages</title>
		<link>http://dennispiccioni.com/wordpress/archives/258</link>
		<comments>http://dennispiccioni.com/wordpress/archives/258#comments</comments>
		<pubDate>Mon, 27 Jul 2009 21:00:09 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[computing]]></category>
		<category><![CDATA[errors]]></category>

		<guid isPermaLink="false">http://dennispiccioni.com/wordpress/?p=258</guid>
		<description><![CDATA[Once in a while, I try to send an email in Outlook and I get an error
An internal support function returned an error.
How is this error helpful in any way?
What function and what error and what can I do about it? If you&#8217;re not going to tell me that, then why bother telling me anything?
It tells [...]]]></description>
			<content:encoded><![CDATA[<p>Once in a while, I try to send an email in Outlook and I get an error</p>
<p><span style="color: #0000ff;">An internal support function returned an error.</span></p>
<p>How is this error helpful in any way?</p>
<p><strong>What function</strong> and <strong>what error</strong> and <strong>what can I do about it</strong>? If you&#8217;re not going to tell me that, then why bother telling me anything?</p>
<p>It tells me, the user, that the email wasn&#8217;t sent, but beyond trying it again, there&#8217;s absolutely nothing useful this error tells me. It&#8217;s not telling me a reason for the error and it&#8217;s not giving me any information for improving what I did to improve the outcome the next time I try to do the same thing.</p>
<p><br class="spacer_" /></p>
<p>So, what do I take away from this experience as a programmer?</p>
<ul>
<li>If I create an end-user type of message, I&#8217;ll try to limit the amount of technical information in the message and try to tell the user what to do to resolve the error if that is not apparent from the message itself.
<p>For example, for a typical end-user, a more appropriate message might have been:</p>
<p><span style="color: #0000ff;">An error occurred when trying to send this message. Try sending it again.</span><br class="spacer_" /></p>
</li>
<li>If I create a more technical message, one that contains more useful information for the programmer (me), I&#8217;ll try to expose enough technical detail information so that when the message gets back to me, I&#8217;ll know where to look in my code to find the problem.
<p>For example, a better technical message might have been:</p>
<p><span style="color: #0000ff;">Internal function XYZ returned error 1234. Please report this error detail to your developer. </span><span style="color: #0000ff;">Try sending the message again.</span></p>
<p><br class="spacer_" /></p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://dennispiccioni.com/wordpress/archives/258/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tip: You don&#8217;t need a screen shot to capture an error message</title>
		<link>http://dennispiccioni.com/wordpress/archives/246</link>
		<comments>http://dennispiccioni.com/wordpress/archives/246#comments</comments>
		<pubDate>Sat, 18 Jul 2009 23:06:35 +0000</pubDate>
		<dc:creator>Dennis</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://dennispiccioni.com/wordpress/?p=246</guid>
		<description><![CDATA[I get a lot of screen shots in my email, most of error messages. Don&#8217;t even get me started on Word documents containing 4 MB BMP screen shots and then attached to an email. Or better yet, a Word document with a bunch of screen shots, which are then discussed in the email, so I have [...]]]></description>
			<content:encoded><![CDATA[<p>I get a lot of screen shots in my email, most of error messages. Don&#8217;t even get me started on <a href="http://blogs.msdn.com/oldnewthing/archive/2008/08/19/8877486.aspx" target="_blank">Word documents containing 4 MB BMP screen shots and then attached to an email</a>. Or better yet, a Word document with a bunch of screen shots, which are then discussed in the email, so I have to keep switching back and forth.</p>
<p>The apparently best kept secret of a standard Windows error message is that it can be captured as plain text using Ctrl+C, since at least Windows XP. This is far better for emailing off to report an error, since it produces a far smaller email message, and it allows the recipient to select and copy text.</p>
<p>Typically, when someone sends me an error message screen shot, the first thing I do is to search for the exact error message text in one or more places (e.g. help, KBase, forums, etc.) If the error was sent to me as a screen shot, I now have to type in the whole error message. If it was sent as text, I can simply select and copy it, reducing the time it takes and the likelihood of transcription errors.</p>
<p>This works for any Windows message box. For example, this line of C# code</p>
<pre>MessageBox.Show("This is error # ZAV45273###Y: you forgot to finagle the gizmo", "ERROR");</pre>
<p>Displays this Windows message box:</p>
<p><img src="http://dennispiccioni.com/wordpress/wp-content/uploads/2009/07/WindowsMessageBox.jpg" alt="" width="332" height="107" /></p>
<p>When this message box has the focus, you can press Ctrl+C to copy it, resulting in this text:</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
 ERROR<br />
 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
 This is error # ZAV45273###Y: you forgot to finagle the gizmo<br />
 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
 OK   <br />
 &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>Now, if someone sends me the text version of the above error, it&#8217;s really easy to copy the complex error number and be sure I got it right.</p>
]]></content:encoded>
			<wfw:commentRss>http://dennispiccioni.com/wordpress/archives/246/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
