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

118 lines
3.4 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.

Traceback (most recent call last):
File "tests/exceptions/source/modern/notes.py", line 13, in <module>
raise e
ValueError: invalid value
Note
Traceback (most recent call last):
> File "tests/exceptions/source/modern/notes.py", line 13, in <module>
raise e
 └ ValueError('invalid value')
ValueError: invalid value
Note
Traceback (most recent call last):
File "tests/exceptions/source/modern/notes.py", line 20, in <module>
raise e
ValueError: invalid value
Note1
Note2
Note3
Traceback (most recent call last):
> File "tests/exceptions/source/modern/notes.py", line 20, in <module>
raise e
 └ ValueError('invalid value')
ValueError: invalid value
Note1
Note2
Note3
+ Exception Group Traceback (most recent call last):
| File "tests/exceptions/source/modern/notes.py", line 27, in <module>
| raise e
| ExceptionGroup: Grouped (2 sub-exceptions)
| Note 1
| Note 2
| Note 3
+-+---------------- 1 ----------------
| ValueError: 1
+---------------- 2 ----------------
| ValueError: 2
+------------------------------------
+ Exception Group Traceback (most recent call last):
|
| > File "tests/exceptions/source/modern/notes.py", line 27, in <module>
| raise e
|  └ ExceptionGroup('Grouped', [ValueError(1), ValueError(2)])
|
| ExceptionGroup: Grouped (2 sub-exceptions)
| Note 1
| Note 2
| Note 3
+-+---------------- 1 ----------------
| ValueError: 1
+---------------- 2 ----------------
| ValueError: 2
+------------------------------------
Traceback (most recent call last):
File "tests/exceptions/source/modern/notes.py", line 32, in <module>
raise e
TabError: tab error
Note
Traceback (most recent call last):
> File "tests/exceptions/source/modern/notes.py", line 32, in <module>
raise e
 └ TabError('tab error')
TabError: tab error
Note
Traceback (most recent call last):
File "tests/exceptions/source/modern/notes.py", line 38, in <module>
raise e
File "<string>", line 1
a = 7 *
^
SyntaxError: syntax error
Note 1
Note 2
Traceback (most recent call last):
> File "tests/exceptions/source/modern/notes.py", line 38, in <module>
raise e
 └ SyntaxError('syntax error', ('<string>', 1, 8, 'a = 7 *\n', 1, 8))
File "<string>", line 1
a = 7 *
^
SyntaxError: syntax error
Note 1
Note 2
Traceback (most recent call last):
File "tests/exceptions/source/modern/notes.py", line 43, in <module>
raise e
TypeError: type error
Traceback (most recent call last):
> File "tests/exceptions/source/modern/notes.py", line 43, in <module>
raise e
 └ TypeError('type error')
TypeError: type error