MCPcopy Create free account
hub / github.com/Noumena-Network/code / getErrorLogByIndex

Function getErrorLogByIndex

src/utils/log.ts:219–224  ·  view source on GitHub ↗
(
  index: number,
)

Source from the content-addressed store, hash-verified

217 * @returns Log data or null if not found
218 */
219export async function getErrorLogByIndex(
220 index: number,
221): Promise<LogOption | null> {
222 const logs = await loadErrorLogs()
223 return logs[index] || null
224}
225
226/**
227 * Internal function to load and process logs from a specified path

Callers

nothing calls this directly

Calls 1

loadErrorLogsFunction · 0.85

Tested by

no test coverage detected