/** Stable failures exposed by the session-persistence service. */ import type { SessionId } from '@deepseek-ai/dsh-session' /** The requested Session identity has no materialized durable log. */ export class SessionPersistenceNotFoundError extends Error { /** @param sessionId - absent durable Session identity. */ constructor(readonly sessionId: SessionId) { super(`session "${sessionId}" not found`) this.name = 'SessionPersistenceNotFoundError' } }