Error Handling
Intro
Error handling patterns inform users when something goes wrong. They provide guidance for users and help repair a dialog if possible. The patterns use illustrated messages to communicate the information.
In-chat error message (left) and interruption error message (right)
Usage
Do
Use an illustrated message to help communicate the error.
Don't
Don’t use an illustrated message if the issue can be solved in a conversational way.
- Be concise and clear with the message.
- Provide actional guidance if possible.
- Comply with Joule User Experience’s guidelines when creating an error message.
Anatomy
A. Header
The header consists of a short sentence summarizing the error.
B. Description
The description further describes the error within one or two sentences and provides guidance.
C. Illustration (Optional)
The illustration visualizes the error.
D. Call-to-Action Button (Optional)
The call-to-action button allows the user to take an action to fix the error or perform any recommended actions.
Anatomy of an error message
Adaptive Design
The adaptiveness of error messages follows the same guidance as defined for illustrated messages for Joule.
Error messages on compact screens
In-chat error message on regular screen
Interruption error message on regular screen
Variations
Joule can encounter various types of errors. They can either appear within the chat or at the bottom of the Joule panel.
In-Chat Error
Empty (No) Result
Empty (no) result error
Non-Recoverable Service Error
Empty (no) non-recoverable service error
Recoverable Error Caused by Temporary Interruption
Recoverable error caused by temporary interruption
Interruption Error
Pre-Conversation Error
Pre-conversation error
Timeout
Timeout error
Resources
Joule for Android: Error Handling
Joule for Web: Error Handling
Related Components/Patterns: Joule Illustrated Message, Illustrated Message