envoy-wasm-rust-sdk icon indicating copy to clipboard operation
envoy-wasm-rust-sdk copied to clipboard

provide support for manually creating backtrace of an error

Open yskopets opened this issue 4 years ago • 0 comments

Context

  • Rust doesn't support backtraces on wasm32 (neither is backtrace package)

Expected

  • find a way for user to manually attach location to an error
    • use file!() and line!() macros to get the location where an error is created
    • probably, use an error handling package like anyhow that allows to associate a free-form context with an error

yskopets avatar Jul 14 '20 18:07 yskopets