• JMap.Application.Message.error

    Adds an error message in the application message stack for the current session.

    Parameters

    • message: string

      the text of the message

    • Optional options: JAppMessageOptions

      a JAppMessageOptions object

    Returns void

    Example

    const message = "This operation is not allowed"
    JMap.Application.Message.error(message, { duration: 5000 })