(error: unknown, sessionID: string)
| 103 | }) |
| 104 | |
| 105 | function isLocalSessionNotFoundError(error: unknown, sessionID: string) { |
| 106 | return error instanceof Error && error.message === `Session not found: ${sessionID}` |
| 107 | } |
| 108 | |
| 109 | function isCurrentSessionNotFoundError(error: unknown, sessionID: string | undefined) { |
| 110 | if (!sessionID) return false |
no outgoing calls
no test coverage detected