LoadUserError: {
    errorMessage?: never;
    userMissing: true;
} | {
    errorMessage: string;
    userMissing?: never;
}

In the case that loading an existing Zupass user fails, we can determine if it failed because the user does not exist, or due to some other error, such as intermittent network error, or the backend being down.

Type declaration

  • Optional errorMessage?: never
  • userMissing: true

Type declaration

  • errorMessage: string
  • Optional userMissing?: never

Generated using TypeDoc