• Helper function to emit an error notification.

    Notes

    The message will be truncated if longer than 140 characters.

    Type Parameters

    • T extends ReadonlyJSONValue = ReadonlyJSONValue

    Parameters

    • message: string

      Notification message

    • options: Notification.IOptions<T> = {}

      Options for the error notification

    Returns string

    Notification unique id