MCPcopy Index your code
hub / github.com/EvoMap/evolver / _errStr

Function _errStr

src/forceUpdate.js:113–117  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

111
112// Compact "CODE: message" rendering of a thrown error for the detail field.
113function _errStr(e) {
114 if (!e) return 'unknown';
115 var code = e.code ? String(e.code) + ': ' : '';
116 return code + (e.message != null ? String(e.message) : String(e));
117}
118
119function _isEvolverPackageName(name) {
120 return name === '@evomap/evolver' || name === 'evolver';

Callers 4

_classifyChannel1ErrorFunction · 0.85
_installDownloadedTreeFunction · 0.85
_executeForceUpdateInnerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected