MCPcopy Index your code
hub / github.com/PrairieLearn/PrairieLearn / _errorData

Method _errorData

lib/code-caller.js:396–410  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

394 }
395
396 _errorData() {
397 const errForStack = new Error();
398 return {
399 state: this.state,
400 childIsNull: (this.child == null),
401 callbackIsNull: (this.callback == null),
402 timeoutIDIsNull: (this.timeoutID == null),
403 outputStdout: this.outputStdout,
404 outputStderr: this.outputStderr,
405 outputBoth: this.outputBoth,
406 outputData: this.outputData,
407 stack: errForStack.stack,
408 lastCallData: this.lastCallData,
409 };
410 }
411
412 _logError(msg) {
413 debug(`enter _logError(), state: ${String(this.state)}, uuid: ${this.uuid}`);

Callers 2

_callCallbackMethod · 0.95
_logErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected