to_string方法
to_string
创建并返回当前异常的字符串表示形式。
返回
def to_string(self):
...
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising. Google's data policies
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.