You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would also be nice if I could have a rust type that implements this trait and define properties that should be set on the error object. For example, in this scenario I want to define code easily for JS on the Rust error type, but still use this error type mostly in Rust:
Instead any error type that needs to cross Rust->JS boundary should require to implement
ToV8Error
trait.Example "footgun" usage:
https://github.com/denoland/deno_core/blob/0f7fced6e574393f2673461b6e9fc12a461eca23/core/error.rs#L126C8-L126C19
The text was updated successfully, but these errors were encountered: