MCPcopy Create free account
hub / github.com/dashscope/dashscope-sdk-java / onError

Method onError

samples/QwenLiveQuickStart.java:93–100  ·  view source on GitHub ↗
(Throwable cause)

Source from the content-addressed store, hash-verified

91 }
92
93 @Override public void onError(Throwable cause) {
94 synchronized (audioFile) {
95 if (!accepting.get()) return;
96 failure.compareAndSet(null, cause);
97 configured.countDown();
98 audioFile.notifyAll();
99 }
100 }
101 });
102 try {
103 conversation.connect();

Callers 2

onEventMethod · 0.95
onCloseMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected