Skip to content

Type Alias: AuthErrorCode ​

ts
type AuthErrorCode = 
  | "unauthenticated"
  | "token_expired"
  | "token_replayed"
  | "token_not_yet_valid"
  | "token_ttl_too_long"
  | "permission_denied"
  | "app_suspended"
  | "internal";

Typed error codes, shared with the protocol so a client sees the same string over either transport.

detail is for logs and bug reports and is never rendered to a user. The host application chooses the words; the platform emits semantics.

Talkline documentation