We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
value.toString in python for an exception loses the type information which is particularly handy for debugging
suggested alternative
let errorMessage = (value ?? type).getAttr("__repr__").call().toString();
The text was updated successfully, but these errors were encountered:
Closed by #42. PythonErrors now contain the https://github.com/denosaurs/deno_python/blob/main/src/python.ts#L793-L795 type, value and traceback as PyObjects making it easy to actually catch and use the thrown value and type.
PythonError
PyObject
Sorry, something went wrong.
No branches or pull requests
value.toString in python for an exception loses the type information which is particularly handy for debugging
suggested alternative
The text was updated successfully, but these errors were encountered: