Skip to content

Map std::nested_exceptions to Python equivalent #1913

Description

@ingomueller-net

I want to collect ideas whether and how one could map std::nested_exceptions to Python's chained exceptions from a raise ... from clause and vice versa. These seem to be the corresponding language features in the two languages, and hence could be an interesting addition to pybind. My expectation is that this would provide more information in case of exceptions that cross language barriers.

I have done only very initial research, but if there is interest from the side of this project, I might be able to invest some more time, potentially with ideas and help from others.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions