RSS

Tag Archives: errors

Pragmatic Exception Handling

If you already know the requirements and best practices for exception handling and error reporting, this post talks about some convenient guidelines to follow to make it easier to comply with the rules.
Read the rest of this entry »

Advertisements
 
Leave a comment

Posted by on May 1, 2018 in Coding

 

Tags: ,

Context Error Reporting

One of the biggest mistakes I see programmers make when writing an error message is to forget to include details about the context into the message.  The message effectively “assumes” that the reader knows the context, but that assumption is not always valid, and the error message can fail communicate. Read the rest of this entry »

 
Leave a comment

Posted by on April 20, 2018 in Coding, Design, Poor Error Msg

 

Tags: , , , ,

Don’t Write Insulting Error Messages

Error messages are incredibly important in communicating to the user when something happened that the program was not designed to handle.  Programmers usually write these messages, and there are common pitfalls to avoid. Read the rest of this entry »

 
Leave a comment

Posted by on July 14, 2017 in Coding, Design, practice

 

Tags: , , , ,

Is Non-existence an Error?

You call a method to retrieve information about an object with a  particular ID, but the record does not exist.  Is this an exception?   Or not?  It is hard to answer. Read the rest of this entry »

 
Leave a comment

Posted by on June 29, 2017 in Coding

 

Tags: , ,

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: , , ,