MessageError class

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

Base error class used by MessageFormat


export declare class MessageError extends Error 

Extends: Error


Constructor Modifiers Description
(constructor)(type, message)   (BETA) Constructs a new instance of the MessageError class


Property Modifiers Type Description
type   ‘missing-func’ | ‘not-formattable’ | typeof MessageResolutionError.prototype.type | typeof MessageSelectionError.prototype.type | typeof MessageSyntaxError.prototype.type (BETA)