Skip to main content

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, element?: Element) => void

Property Value

Type
(message: string, showForUser?: boolean, prefix?: string, element?: Element) => void

processMessage Property

Specifies a function to handle the informational messages.

Declaration

processMessage: (message: string, showForUser?: boolean, element?: Element) => void

Property Value

Type
(message: string, showForUser?: boolean, element?: Element) => void

processWarning Property

Specifies a function to handle the warning messages.

Declaration

processWarning: (message: string, showForUser?: boolean, element?: Element) => void

Property Value

Type
(message: string, showForUser?: boolean, element?: Element) => void