Skip to content

Commit 125cdd1

Browse files
committed
update error name
1 parent 61e8e88 commit 125cdd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/web_voice_processor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ export class WebVoiceProcessor {
303303
options: WebVoiceProcessorOptions,
304304
) {
305305
if (navigator.mediaDevices === undefined) {
306-
throw new WvpError("NotAvailableError", "Audio recording is not allowed or disabled.");
306+
throw new WvpError("DeviceDisabledError", "Audio recording is not allowed or disabled.");
307307
}
308308

309309
const {

0 commit comments

Comments
 (0)