@umbraco-cms/backoffice
    Preparing search index...

    Function apiErrorWasNotified

    • Whether tryExecute surfaces a notification for this error.

      This is the single definition of that rule: tryExecute uses it to decide whether to notify, and callers that add their own fallback messaging use it to avoid duplicating or contradicting the notification the user has already been shown.

      Parameters

      • error: unknown

        The error to inspect, typically the error of an UmbApiResponse or the cause of a wrapping error.

      Returns boolean

      True when a notification is shown for this error, false when it is suppressed.