Function accountErrorMessage
-
accountErrorMessage(
error: unknown,
token?: boolean,
context?: "login" | "passwordSet" | "verify" | "emailChange",
): stringParameters
- error: unknown
Customer-visible error or error presentation flag.
- token: boolean = false
One-time token retained only in component memory; null enables recovery navigation. Defaults to false.
Optionalcontext: "login" | "passwordSet" | "verify" | "emailChange"Context supplied by the host.
Returns string
- error: unknown
Turn an account failure into customer-safe German copy for the current form context.