gpt4 book ai didi

python - boto3 中 boto.exception.BotoServerError 的等价物是什么

转载 作者:行者123 更新时间:2023-11-30 22:38:40 25 4
gpt4 key购买 nike

boto exceptions.py ,有一个类 BotoServerError(StandardError)。然而,在 boto3 exceptions.py它不再存在了。它的替代品是什么?

最佳答案

在 Boto3 中,这是在 botocore 中推送的。

botocore exceptions.py

class ClientError(Exception):

>>> from botocore.exceptions import ClientError

关于python - boto3 中 boto.exception.BotoServerError 的等价物是什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43457388/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com