📜  将异常转换为字符串 python 代码示例

📅  最后修改于: 2022-03-11 14:47:25.276000             🧑  作者: Mango

代码示例1
In Python 3.x, str(e) should be able to convert any Exception to a string, even if it contains Unicode characters