MCPcopy Create free account
hub / github.com/mscdex/ssh2 / onError

Function onError

test/common.js:193–196  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

191 }
192
193 function onError(err) {
194 const which = (this === client ? 'client' : 'server');
195 assert(false, msg(`Unexpected ${which} error: ${err.stack}\n`));
196 }
197
198 function onReady() {
199 if (this === client) {

Callers 1

constructorMethod · 0.50

Calls 2

assertFunction · 0.85
msgFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…