Error Handling

Definition
When an error occurs, this is communicated to the user.
Error handling architecture diagram

How does it work?

When an error occurs during the flow of the application, the action the user aims to perform, fails. If this is not fed back to the user, the user will assume it succeeded. The user can also be instructed what to do about the error.

Examples

  • Error messages in graphical user interfaces

When should you use it?

  • When not informing the user leads to unwanted consequences.

Problems

  • Users can blame themselves for errors they can't help. Try to avoid this
  • Error messages can be cryptic, especially to the layman

Links