brows3r — TypeScript API
    Preparing search index...

    Function surfaceError

    • Surface a backend AppError through the standard notification pipeline.

      One-call helper that replaces the boilerplate of constructing a Notification, calling present(), and calling dispatch() at every mutation/onError site. Use this in:

      • useMutation.onError handlers
      • try/catch blocks around await invoke(...) calls
      • useSuccess handlers that receive { ok: false, error } payloads

      Silently no-ops for Cancelled (its policy is "silent").

      Parameters

      Returns Promise<void>