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

Signature:

export declare class MessageError extends Error 

Extends: Error

Constructors

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

Properties

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