Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proto #1: Exception instances as Py<BaseException> #686

Closed
wants to merge 1 commit into from

Commits on Dec 9, 2019

  1. Proto PyO3#1: Exception instances as Py<BaseException>

    This prototype implements use of Py<BaseException> as the instance to
    use for exception instances. These instances integrate reasonably well
    with the Rust’s standard error mechanisms by implementing the `Display`
    and `Error` traits. These error types can also be stored into e.g.
    `failure::Fail`s or other error types as a cause of some greater error.
    nagisa committed Dec 9, 2019
    Configuration menu
    Copy the full SHA
    5f3dbd6 View commit details
    Browse the repository at this point in the history