Is there a list of Exception messages?

16 views
Skip to first unread message

Yalon

unread,
Dec 24, 2024, 10:30:55 AM12/24/24
to brython
Is there a list of brython's Exception messages ? 
I'm using BaseException to catch errors in the python code.

Also, "NameError" exception is not returning line number. is it a bug?

Thanks
Eilon

Pierre Quentel

unread,
Jan 4, 2025, 4:47:55 PMJan 4
to brython
No, there is no list of exception messages, and I don't think there is one in the Python language documentation.

Can you be more precise about NameError not "returning" a line number ? Is is in the error trace or in the attributes of the exception object or somewhere else ?

- Pierre
Reply all
Reply to author
Forward
0 new messages