SessionErrorCode
constSessionErrorCode:object
Defined in: packages/core/src/session/schema.ts:64
Stable, machine-readable codes for session failures.
Codes are for logs, metrics and API responses; the tag names and messages stay free to change. Pair every code with SessionRepair.
Type Declaration
Section titled “Type Declaration”alreadyExists
Section titled “alreadyExists”
readonlyalreadyExists:"session/already-exists"="session/already-exists"
closed
Section titled “closed”
readonlyclosed:"session/closed"="session/closed"
conflict
Section titled “conflict”
readonlyconflict:"session/conflict"="session/conflict"
expired
Section titled “expired”
readonlyexpired:"session/expired"="session/expired"
inconsistentStore
Section titled “inconsistentStore”
readonlyinconsistentStore:"session/inconsistent-store"="session/inconsistent-store"
leaseLost
Section titled “leaseLost”
readonlyleaseLost:"session/lease-lost"="session/lease-lost"
notFound
Section titled “notFound”
readonlynotFound:"session/not-found"="session/not-found"
readonlystore:"session/store"="session/store"