IMessageHandler Interface
An object that contains functions to process error, warning and informational messages.
Declaration
export interface IMessageHandler
Remarks
The IMessageHandler object is used to set the MessageHandler property value.
Properties
processError Property
Specifies a function to handle the error messages.
Declaration
processError: (message: string, showForUser?: boolean, prefix?: string) => void
Property Value
Type | Description |
---|---|
(message: string, showForUser?: boolean, prefix?: string) => void | A JavaScript function to handle the error messages. |
processMessage Property
Specifies a function to handle the informational messages.
Declaration
processMessage: (message: string, showForUser?: boolean) => void
Property Value
Type | Description |
---|---|
(message: string, showForUser?: boolean) => void | A JavaScript function to handle the informational messages. |
processWarning Property
Specifies a function to handle the warning messages.
Declaration
processWarning: (message: string, showForUser?: boolean) => void
Property Value
Type | Description |
---|---|
(message: string, showForUser?: boolean) => void | A JavaScript function to handle the warning messages. |