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

Full TypeScript signature sourced from the util file.

typescript

API

Parameters

Input parameters accepted by this util.

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

API

Return value

The value returned by this util.

Returns nothing.

Usage

Examples

Ready-to-paste usage snippets.

Internal component error reporting

typescript