mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-11-17 11:29:37 +00:00
Remove JavaScript error from non-JavaScript builds.
This commit is contained in:
parent
c24c1d3230
commit
d46b886875
|
@ -37,6 +37,7 @@ pub enum Error {
|
|||
IO(#[from] std::io::Error),
|
||||
#[error("Value not received")]
|
||||
NoneError,
|
||||
#[cfg(target_arch = "wasm32")]
|
||||
#[error("JavaScript error: [0])]")]
|
||||
JavaScriptError(wasm_bindgen::JsValue),
|
||||
#[cfg(windows)]
|
||||
|
|
Loading…
Reference in New Issue
Block a user