brows3r — TypeScript API
    Preparing search index...

    Function surfaceUnknownError

    • Surface an arbitrary unknown error value.

      Wraps surfaceError for cases where the caller doesn't know the error shape upfront (typical useMutation.onError and catch (err: unknown) sites). When err is not an AppError, fabricates a synthetic Internal-shaped notification so the user still sees something rather than silence.

      Parameters

      Returns Promise<void>