MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / errorStack

Function errorStack

apps/kimi-web/src/composables/useKimiWebClient.ts:962–964  ·  view source on GitHub ↗
(err: unknown)

Source from the content-addressed store, hash-verified

960}
961
962function errorStack(err: unknown): string | undefined {
963 return err instanceof Error && typeof err.stack === 'string' && err.stack ? err.stack : undefined;
964}
965
966function formatTimestamp(ms: number | undefined): string | undefined {
967 if (typeof ms !== 'number' || !Number.isFinite(ms)) return undefined;

Callers 1

errorDetailsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected