MCPcopy
hub / github.com/Mathieu2301/TradingView-API / onError

Method onError

src/client.js:144–146  ·  view source on GitHub ↗

* When a client error happens * @param {(...{}) => void} cb Callback * @event onError

(cb)

Source from the content-addressed store, hash-verified

142 * @event onError
143 */
144 onError(cb) {
145 this.#callbacks.error.push(cb);
146 }
147
148 /**
149 * When a client event happens

Callers 5

waitForErrorFunction · 0.45
SimpleChart.jsFile · 0.45
CustomChartType.jsFile · 0.45
Errors.jsFile · 0.45

Calls

no outgoing calls

Tested by 1

waitForErrorFunction · 0.36