loguru/tests/exceptions/output/modern/grouped_nested.txt

151 lines
8.3 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

+ Exception Group Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 40, in <module>
| main()
| File "tests/exceptions/source/modern/grouped_nested.py", line 33, in main
| raise ExceptionGroup("group_2", [error_4, error_3]) from None
| ExceptionGroup: group_2 (2 sub-exceptions)
+-+---------------- 1 ----------------
| Exception Group Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 26, in main
| raise ExceptionGroup("group_1", [error_1, error_2])
| ExceptionGroup: group_1 (2 sub-exceptions)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 17, in main
| divide_by_zero()
| File "tests/exceptions/source/modern/grouped_nested.py", line 6, in divide_by_zero
| 1 / 0
| ZeroDivisionError: division by zero
+---------------- 2 ----------------
| Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 22, in main
| raise_value_error(100)
| File "tests/exceptions/source/modern/grouped_nested.py", line 10, in raise_value_error
| raise ValueError(value)
| ValueError: 100
+------------------------------------
|
| During handling of the above exception, another exception occurred:
|
| Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 29, in main
| raise_value_error(-100)
| File "tests/exceptions/source/modern/grouped_nested.py", line 10, in raise_value_error
| raise ValueError(value)
| ValueError: -100
+---------------- 2 ----------------
| Exception Group Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 26, in main
| raise ExceptionGroup("group_1", [error_1, error_2])
| ExceptionGroup: group_1 (2 sub-exceptions)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 17, in main
| divide_by_zero()
| File "tests/exceptions/source/modern/grouped_nested.py", line 6, in divide_by_zero
| 1 / 0
| ZeroDivisionError: division by zero
+---------------- 2 ----------------
| Traceback (most recent call last):
| File "tests/exceptions/source/modern/grouped_nested.py", line 22, in main
| raise_value_error(100)
| File "tests/exceptions/source/modern/grouped_nested.py", line 10, in raise_value_error
| raise ValueError(value)
| ValueError: 100
+------------------------------------
+ Exception Group Traceback (most recent call last):
|
| > File "tests/exceptions/source/modern/grouped_nested.py", line 40, in <module>
| main()
| └ <function main at 0xDEADBEEF>
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 33, in main
| raise ExceptionGroup("group_2", [error_4, error_3]) from None
|  └ ValueError(-100)
|
| ExceptionGroup: group_2 (2 sub-exceptions)
+-+---------------- 1 ----------------
| Exception Group Traceback (most recent call last):
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 26, in main
| raise ExceptionGroup("group_1", [error_1, error_2])
|  │ └ ValueError(100)
|  └ ZeroDivisionError('division by zero')
|
| ExceptionGroup: group_1 (2 sub-exceptions)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 17, in main
| divide_by_zero()
| └ <function divide_by_zero at 0xDEADBEEF>
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 6, in divide_by_zero
| 1 / 0
|
| ZeroDivisionError: division by zero
+---------------- 2 ----------------
| Traceback (most recent call last):
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 22, in main
| raise_value_error(100)
| └ <function raise_value_error at 0xDEADBEEF>
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 10, in raise_value_error
| raise ValueError(value)
|  └ 100
|
| ValueError: 100
+------------------------------------
|
|
| During handling of the above exception, another exception occurred:
|
|
| Traceback (most recent call last):
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 29, in main
| raise_value_error(-100)
| └ <function raise_value_error at 0xDEADBEEF>
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 10, in raise_value_error
| raise ValueError(value)
|  └ -100
|
| ValueError: -100
+---------------- 2 ----------------
| Exception Group Traceback (most recent call last):
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 26, in main
| raise ExceptionGroup("group_1", [error_1, error_2])
|  │ └ ValueError(100)
|  └ ZeroDivisionError('division by zero')
|
| ExceptionGroup: group_1 (2 sub-exceptions)
+-+---------------- 1 ----------------
| Traceback (most recent call last):
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 17, in main
| divide_by_zero()
| └ <function divide_by_zero at 0xDEADBEEF>
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 6, in divide_by_zero
| 1 / 0
|
| ZeroDivisionError: division by zero
+---------------- 2 ----------------
| Traceback (most recent call last):
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 22, in main
| raise_value_error(100)
| └ <function raise_value_error at 0xDEADBEEF>
|
| File "tests/exceptions/source/modern/grouped_nested.py", line 10, in raise_value_error
| raise ValueError(value)
|  └ 100
|
| ValueError: 100
+------------------------------------