MCPcopy Create free account
hub / github.com/pulsar-edit/pulsar / prepareStackTraceWithRawStackAssignment

Function prepareStackTraceWithRawStackAssignment

src/compile-cache.js:211–219  ·  view source on GitHub ↗
(error, frames)

Source from the content-addressed store, hash-verified

209 var prepareStackTrace = prepareStackTraceWithSourceMapping;
210
211 function prepareStackTraceWithRawStackAssignment(error, frames) {
212 if (error.rawStack) {
213 // avoid infinite recursion
214 return prepareStackTraceWithSourceMapping(error, frames);
215 } else {
216 error.rawStack = frames;
217 return prepareStackTrace(error, frames);
218 }
219 }
220
221 Error.stackTraceLimit = 30;
222

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected