Error codes › ui-safety

Error codes

ui-safety

warning hint The product's user interface

What it means#

A safety-relevant message — on a port a hazard's error … on names, said in a hazard's or a safety goal's text, or tagged safety — shown on some screens only, not in an overlay nor by a telltale: on the other screens nobody sees it. As a hint, one the ui's part receives and never shows. And a dialog a safety condition opens (dialog X when bus.BRAKE_FAULT — a safety-relevant message, what a telltale in an overlay reads, the state of a part tagged safety or with an ASIL) whose button leaves it while the condition holds: enabled not bus.BRAKE_FAULT on it keeps the dialog up until the condition clears.

How to fix it#

The message says what is wrong and where, and often what was meant (Did you mean …?). Change the model so that what this page describes no longer holds, then check again: archec check main.arche.

archec check --beginner says the most common messages in plain words, with the names that exist.

The automatic fix#

archec has no fix of its own for this code. When the message says Did you mean …?, VS Code offers that change (Quick Fix).

In the terminal#

archec explain ui-safety prints this explanation; archec explain ui lists the codes of its area.