maxcountryman_web_sys/features/
gen_SpeechSynthesisErrorCode.rs1#![allow(unused_imports)]
2use wasm_bindgen::prelude::*;
3#[wasm_bindgen]
4#[doc = "The `SpeechSynthesisErrorCode` enum."]
5#[doc = ""]
6#[doc = "*This API requires the following crate features to be activated: `SpeechSynthesisErrorCode`*"]
7#[derive(Debug, Clone, Copy, PartialEq, Eq)]
8pub enum SpeechSynthesisErrorCode {
9 Canceled = "canceled",
10 Interrupted = "interrupted",
11 AudioBusy = "audio-busy",
12 AudioHardware = "audio-hardware",
13 Network = "network",
14 SynthesisUnavailable = "synthesis-unavailable",
15 SynthesisFailed = "synthesis-failed",
16 LanguageUnavailable = "language-unavailable",
17 VoiceUnavailable = "voice-unavailable",
18 TextTooLong = "text-too-long",
19 InvalidArgument = "invalid-argument",
20}