All docs
V21.1
21.1
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.