xplain.ux.widget.ErrorMessage

Provides a simple component to depict an error message to the user. If the error provided is send by the backend, it will depict a basic message and the stack trace of the error in a details section (which the user may slide in).

ErrorMessage sample

If the error provided has any other format, this class will try to decode and depict the error message.

Layout (Redesign 2026, Variante 1a, styling: objectexplorer/resources/message-dialogs.css):

head - title message - round icon badge on the left; message text and a labeled

“Show details” toggle on the right

details - collapsed by default: version line with an inline “Copy”

link, below it the stack trace as a dark code block

footer - Okay resp. Reload

Config Parameters

error = null

The error that this class should depict.

version = null

A version string that - if set - will be shown to the user