IN THIS ARTICLE
Error Handling in Blue Jay Design System
Learn how to craft user interface (UI) messages that help your users, not frustrate them, by reviewing the principles and best practices in this section. UI messages indicate the status of a component such as error, failure, warning, information, and success messages.
The pages in this section covers how to style error messages for various types of UI messages including toast, inline notification, dialog, console log, event log, event table, component card, and text input validation. Consistent styling in O3DE’s UI messages is crucial because it assists users to better recognize errors and how to resolve them.
Review these related pages on how style error messages specific to each type of UI message:
|Text Input Validation|
To aid in your learning, it’s recommended that you launch Qt Control Gallery, an application that contains UI elements from the Qt widget library and allows you to program and preview additional elements. The QT Control Gallery is built when you build O3DE and is located in the engine’s
For more information, refer to O3DE Qt Control Gallery Tool.
The standard icons that come with O3DE are the Error, Warning, Success, and Information icons. They communicate different severity levels of information to users.
These icons are displayed on various O3DE UI systems such as toast messages, dialogs, and message boxes. They are also commonly displayed within event logs, console logs, and component cards. You will learn more about these systems on this page.
Indicates that a process has failed, or there is an error that requires immediate user action—that is, the user might be critically impacted, or in a potentially irreversible state. Errors or failures may be an irregularity in the engine, a malfunctioning feature, or a request from the user to confirm a destructive action.
Used for: errors, failure, failed processes, emergencies, urgent alerts
Note:In O3DE, we define two different terms to describe an issue: error and failure. An error is the deviation from the actual and expected output. A failure is the system’s inability to perform a required function.
Indicates a situation that requires corrective action from the user to prevent a critical fault, or a situation in which a non-critical error has occurred. Warnings don’t indicate immediate impact on the user, but they suggest that the user performs a preventive action for a streamlined workflow.
Used for: warnings, unavailability, caution, prevention, instability
Indicates successfully finished processes and tasks, or implies that no issues are present within the system. It’s necessary to provide the user feedback when they complete an action successfully or to indicate that no immediate user action is required.
Used for: success, completion, stability, active status, verification, progress indicator
Indicates additional (non-critical) information that doesn’t require action from the user. This may be used to inform the user that something is ready to view, such as for system feedback or to signify changes since the last interaction.
Used for: information, guidance, exceptions
In messages, semantic colors indicate the purpose of a message, which users can quickly recognize by the color. For instance, the color green has positive connotations, so it’s used to communicate success or confirmation.
- Information icon: