Enode — API Reference
    Preparing search index...
    • The displayable message the backend sent, or null. Always uses userMessage when present; uses reason only for 4xx responses and never when it looks like a server internal (PSQL / Swift stack / Abort text). Otherwise null, so the caller shows its own localized text.

      Parameters

      • err: unknown

      Returns string | null

      Exported for call sites that render a failure inline (e.g. a wizard step's ErrorAlert) instead of through presentError: show backendMessage(err) ?? t("<generic fallback>") — never a raw err.message or status code, which are neither localized nor user-appropriate.