Closed jrouaix closed 6 months ago
Hello,
Whould it be nice to have access to errors when invoke ?
invoke
like : pub mod error; in the lib ?
pub mod error;
and a simple :
pub enum Error { #[error("JS Binding: {0:?}")] Binding(#[from] JsValue),
Same is perhaps better on Error::Serde (the #[from] part without transforming the value)
Error::Serde
I tried to change that on a fork but the builds & tests didn't get far, is the project looking for maintainers ?
The error enum is public now, a larger change to the way custom errors are propagated is a bit more tricky, see #18 for details on that.
Hello,
Whould it be nice to have access to errors when
invoke
?like :
pub mod error;
in the lib ?and a simple :
Same is perhaps better on
Error::Serde
(the #[from] part without transforming the value)I tried to change that on a fork but the builds & tests didn't get far, is the project looking for maintainers ?