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
>>> try: ... raise TypeError('bad type') ... except Exception as e: ... e.add_note('Add some information') ... raise ... Traceback (most recent call last): File "<stdin>", line 2, in <module> TypeError: bad type Add some information >>>
The note does not appear when pretty_exceptions_enable=True PEP 678 – Enriching Exceptions with Notes
pretty_exceptions_enable=True
I would like the note to appear when pretty exceptions are enabled.
try: raise TypeError('bad type') except Exception as e: e.add_note('Add some information') raise
No response
Linux, Windows
0.7.0
Python 3.11.0
The text was updated successfully, but these errors were encountered:
No branches or pull requests
First Check
Commit to Help
Example Code
Description
The note does not appear when
pretty_exceptions_enable=True
PEP 678 – Enriching Exceptions with Notes
Wanted Solution
I would like the note to appear when pretty exceptions are enabled.
Wanted Code
Alternatives
No response
Operating System
Linux, Windows
Operating System Details
No response
Typer Version
0.7.0
Python Version
Python 3.11.0
Additional Context
No response
The text was updated successfully, but these errors were encountered: