Skip to content

SessionGoneError

Defined in: src/client/app-delegation-source.ts:12

Thrown when the canister has no session behind the caller: revoked, expired, pruned, or never one at all.

This is the one terminal outcome. Everything else a mint can fail with, a transport error or an internal canister error, leaves the session alone and is worth retrying, so only this type may end a session.

  • Error

new SessionGoneError(message?): SessionGoneError

Defined in: src/client/app-delegation-source.ts:13

string = 'The session behind this identity no longer exists'

SessionGoneError

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