Skip to content

Proposal: Enhanced Rust-Python Exception Interoperability #283

@zhanyi136

Description

@zhanyi136

Thanks for the effort and fantastic work on the library!
I was thinking about the error handling between the Rust core and Python layer. I was wondering if there's a roadmap to more seamlessly connect exceptions from both sides? For instance, making a Rust panic raise a corresponding Python exception with a clear stack trace.
This is just a thought, but I believe it would make debugging much more intuitive. Curious to hear your perspectives!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions