This class displays a panel with an error message, hence it should be attached to a panel with a Text component. It is used to warn the user when a parsing error occurs.