@microsoft/fast-element > FASTGlobal > addMessages

FASTGlobal.addMessages() method

Adds debug messages for errors and warnings.

Signature:

addMessages(messages: Record<number, string>): void;

Parameters

Parameter

Type

Description

messages

Record<number, string>

The message dictionary to add.

Returns:

void

Remarks

Message can include placeholders like ${name} which can be replaced by values passed at runtime.