Skip to main content Link Search Menu Expand Document (external link)

MessageFallback class

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

A child class of MessageValue for fallback values.

Signature:

export declare class MessageFallback extends MessageValue<undefined> 

Extends: MessageValue<undefined>

Remarks

Used to represent parse errors as well as runtime/formatting errors.

Constructors

Constructor Modifiers Description
(constructor)(locale, fmt)   (BETA) Constructs a new instance of the MessageFallback class

Methods

Method Modifiers Description
matchSelectKey()   (BETA)
toString()   (BETA)