RSS

Tag Archives: errors

Two Kinds of Exceptions

An exception is a message from the system to the user about something that the program can not handle. There are a couple of main categories of exceptions: environmental and program logic. They warrant quite different treatment. Read the rest of this entry »

 
Leave a comment

Posted by on March 14, 2016 in Coding, Design, Poor Error Msg, practice

 

Tags: , , , ,

Error messages should be very literal

We all struggle with the correct wording for error messages. It is not easy. But I ran across an example today that should help understanding Read the rest of this entry »

 
Leave a comment

Posted by on December 12, 2015 in Coding, Poor Error Msg

 

Tags: ,

Error-First Design in JSON/REST/AngularJS integration

You have heard about “mobile-first” when creating your UI, but there is something you should do before you start designing the UI:  you should design the error handling/display mechanism first. Read the rest of this entry »

 
Leave a comment

Posted by on December 4, 2015 in Coding

 

Tags: , , ,

“Oops something failed” is NOT acceptable error message

I try to keep track of real-life situations where poor error messages appear. That happened again today. This message was displayed to the user: Read the rest of this entry »

 
Leave a comment

Posted by on September 30, 2014 in Coding, Poor Error Msg

 

Tags: , ,

Robust Web Application Initialization

When a web based application starts up, it should do so carefully to avoid a number of problems.  This post outlines the problems you might run into, and a list of coding preparations that can be made to avoid these problems. Read the rest of this entry »

 
Leave a comment

Posted by on January 13, 2014 in Coding

 

Tags: , , , , ,

Error Message should be clear, plain, and direct

This post is about a real error message I received and puzzled through.  Luckily, because I was working with open source code, I was able to see a copy of the source, and only then did I understand what the message meant.  An error message should not require you to know and understand the source, in order to understand the message, and I think this is the root of the mistake that many programmers make. Read the rest of this entry »

 
1 Comment

Posted by on August 24, 2013 in Coding, Example Code, Poor Error Msg

 

Tags: , , ,

Surprising outrageous file handling

I don’t usually focus on bad examples of code (because there are so many ways to do it wrong they are rarely repeated) but here I found a particular pattern that was pernicious and repeated all through the code, indicating that at least one development thought this was a really good idea.  It isn’t. Read the rest of this entry »

 
Leave a comment

Posted by on July 18, 2013 in Coding

 

Tags: ,