Skip to content

SupersededError

Defined in: src/client/auth-client.ts:344

Thrown when a later sign-in or sign-out took over from this one.

Not a failure of the operation so much as a change of mind: an origin has one signer window and one sign-in, so the newer intent is the one honoured, and the earlier one reports this rather than writing what it had assembled. A caller may usually ignore it — the user is getting what they asked for second.

  • Error

new SupersededError(message?): SupersededError

Defined in: src/client/auth-client.ts:345

string = 'A later sign-in or sign-out took over from this one'

SupersededError

Error.constructor

optional cause?: unknown

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Error.cause


message: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077

Error.message


name: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076

Error.name


optional stack?: string

Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078

Error.stack