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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SessionGoneError(
message?):SessionGoneError
Defined in: src/client/app-delegation-source.ts:13
Parameters
Section titled “Parameters”message?
Section titled “message?”string = 'The session behind this identity no longer exists'
Returns
Section titled “Returns”SessionGoneError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause?:unknown
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
Section titled “Inherited from”Error.cause
message
Section titled “message”message:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1077
Inherited from
Section titled “Inherited from”Error.message
name:
string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1076
Inherited from
Section titled “Inherited from”Error.name
stack?
Section titled “stack?”
optionalstack?:string
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1078
Inherited from
Section titled “Inherited from”Error.stack