MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / makeNoteCallback

Function makeNoteCallback

ses.cjs:6728–6734  ·  view source on GitHub ↗
(severity)

Source from the content-addressed store, hash-verified

6726
6727 /** @type {(severity: LogSeverity) => NoteCallback} */
6728 const makeNoteCallback= (severity)=>(error, noteLogArgs)=> {
6729 const subErrors= [];
6730 // Annotation arrived after the error has already been logged,
6731 // so just log the annotation immediately, rather than remembering it.
6732 logErrorInfo(severity, error, ErrorInfo.NOTE, noteLogArgs, subErrors);
6733 logSubErrors(severity, subErrors, tagError(error));
6734 };
6735
6736 /**
6737 * @param {LogSeverity} severity

Callers 1

logErrorFunction · 0.85

Calls 3

logErrorInfoFunction · 0.85
logSubErrorsFunction · 0.85
tagErrorFunction · 0.85

Tested by

no test coverage detected