MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / #onError

Method #onError

examples/io/tcp/tlssocket/tlssocket.js:147–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 this.#messageHandler();
146 }
147 #onError() {
148 this.#callbacks.onError?.();
149 }
150 #messageHandler(read) {
151 if (!this.#ready) {
152 if (this.#session.handshake(this.#socket)) {

Callers 15

constructorMethod · 0.95
#messageHandlerMethod · 0.95
constructorMethod · 0.45
#readValueMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
configureMethod · 0.45
constructorMethod · 0.45
constructorMethod · 0.45
checkMethod · 0.45
#readValueMethod · 0.45

Calls 1

onErrorMethod · 0.65

Tested by

no test coverage detected