Back
Syntax
Study
Editor
Mode:
HTML
CSS
JavaScript
PHP
Reset
Run »
HTML / CSS / JS
try: raise ExceptionGroup("errors", [ ValueError("bad value"), TypeError("wrong type"), ]) except* ValueError as eg: print("Value errors:", eg.exceptions) except* TypeError as eg: print("Type errors:", eg.exceptions)
Result
Open