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.

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