boto3 中 boto.exception.BotoServerError 的等价物是什么
what's the equivalent of boto.exception.BotoServerError in boto3
在 boto exceptions.py, there is a class BotoServerError(StandardError)
. However, in boto3 exceptions.py 它不再存在。它的替代品是什么?
在 Boto3 中,这被推入 botocore
。
class ClientError(Exception):
>>> from botocore.exceptions import ClientError
在 boto exceptions.py, there is a class BotoServerError(StandardError)
. However, in boto3 exceptions.py 它不再存在。它的替代品是什么?
在 Boto3 中,这被推入 botocore
。
class ClientError(Exception):
>>> from botocore.exceptions import ClientError