MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / toImmutable

Function toImmutable

packages/core/src/debug/errorAggregator.ts:154–168  ·  view source on GitHub ↗
(error: MutableError)

Source from the content-addressed store, hash-verified

152 }
153
154 function toImmutable(error: MutableError): AggregatedError {
155 return {
156 id: error.id,
157 category: error.category,
158 severity: error.severity,
159 code: error.code,
160 message: error.message,
161 sourceFile: error.sourceFile,
162 sourceLine: error.sourceLine,
163 firstOccurrence: error.firstOccurrence,
164 lastOccurrence: error.lastOccurrence,
165 count: error.count,
166 frameIds: [...error.frameIds],
167 };
168 }
169
170 function addError(
171 record: ErrorRecord,

Callers 2

addErrorFunction · 0.85
allFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected