consoleError

Commons
stable

Emits a Vue warn-level message prefixed with "Origam error:" to the developer console. Prefer this over console.error for internal error reporting so the message is tied to the Vue component tree.

API

Signature

Signature TypeScript complète, extraite du fichier util.

typescript

API

Paramètres

Paramètres d'entrée acceptés par cet util.

message
requis
string
The error description to display. It is automatically prefixed with "Origam error: ".

API

Valeur de retour

La valeur retournée par cet util.

Returns nothing.

Usage

Exemples

Extraits de code prêts à coller.

Internal component error reporting

typescript