Documentation / @agentick/mcp / SessionNotFoundError
Class: SessionNotFoundError
Defined in: server/server.ts:98
Thrown when an outbound MCPServer.request() targets a sessionId that is not currently connected (was never connected, or was closed/evicted).
Distinct from JSON-RPC protocol errors — this is a server-side lookup failure that never makes it onto the wire.
Extends
Error
Constructors
Constructor
new SessionNotFoundError(
sessionId):SessionNotFoundError
Defined in: server/server.ts:101
Parameters
sessionId
string
Returns
SessionNotFoundError
Overrides
Error.constructor
Properties
sessionId
readonlysessionId:string
Defined in: server/server.ts:99