Skip to content

Can I get original value of PyErr? #2378

Answered by birkenfeld
bachue asked this question in Questions
Discussion options

You must be logged in to vote

Your IoError is not an exception. The value is a standard Python IOError, but you can get at the "contents" with (in Python) err.args[0].

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bachue
Comment options

@birkenfeld
Comment options

@bachue
Comment options

Answer selected by bachue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants