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